Skip to content

Commit

Permalink
Fix build on Windows (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
flomnes committed Mar 18, 2024
1 parent 7a8df2c commit f966288
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/ui/simulator/windows/simulation/run.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,11 @@ static wxString TimeSeriesToWxString(uint m)
r << (r.empty() ? wxEmptyString : wxT(", ")) << wxT("wind");
if (m & Data::timeSeriesThermal)
r << (r.empty() ? wxEmptyString : wxT(", ")) << wxT("thermal");
return r.empty() ? wxT("none") : r;

if (r.empty())
return wxT("none");
else
return r;
}

static inline void UpdateLabel(bool& guiUpdated, wxStaticText* label, const wxString& text)
Expand Down

0 comments on commit f966288

Please sign in to comment.