Skip to content

Commit

Permalink
Merge pull request #104 from sAkuraOfficial/master
Browse files Browse the repository at this point in the history
format a place
  • Loading branch information
pthom authored Mar 16, 2024
2 parents 4cd8b2e + b54c694 commit 910f93f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/hello_imgui/internal/hello_imgui_ini_settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -273,17 +273,17 @@ namespace HelloImGui
windowsWithSettings.push_back(w);
}

for (const auto& dockableWindow: dockingParams.dockableWindows)
{
if (
std::find(windowsWithSettings.begin(), windowsWithSettings.end(), dockableWindow.label)
== windowsWithSettings.end())
for (const auto& dockableWindow: dockingParams.dockableWindows)
{
return false;
if (
std::find(windowsWithSettings.begin(), windowsWithSettings.end(), dockableWindow.label)
== windowsWithSettings.end())
{
return false;
}
}
return true;
}
return true;
}


void SaveDockableWindowsVisibility(const std::string& iniPartsFilename, const DockingParams& dockingParams)
Expand Down

0 comments on commit 910f93f

Please sign in to comment.