Skip to content

Commit

Permalink
format a place
Browse files Browse the repository at this point in the history
  • Loading branch information
sAkuraOfficial committed Mar 16, 2024
1 parent 4cd8b2e commit b54c694
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 b54c694

Please sign in to comment.