Skip to content

Commit

Permalink
try fix windows build, yuni string
Browse files Browse the repository at this point in the history
  • Loading branch information
payetvin committed Feb 15, 2024
1 parent e1e0505 commit b4a6eac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,9 @@ bool ThermalClusterSummarySingleArea::cellValue(int x, int y, const String& v)
{
case 0:
{
if (cluster->group() != Yuni::CString(v))
std::string group = cluster->group().c_str();
std::string v_string;
if (group != v_string)
{
cluster->setGroup(v);
return true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,13 +227,13 @@ wxString LayersUI::cellValue(int x, int y) const

return layerPosition != layerListEnd
? wxString::Format(wxT("%d"), pArea->ui->layerX[layerIterator->first])
: wxT("-");
: wxString(wxT("-"));

case 2:

return layerPosition != layerListEnd
? wxString::Format(wxT("%d"), pArea->ui->layerY[layerIterator->first])
: wxT("-");
: wxString(wxT("-"));
}
}
return wxEmptyString;
Expand Down

0 comments on commit b4a6eac

Please sign in to comment.