From b54c694f0b7afcc2d020ad605a4dc52d4d5899ef Mon Sep 17 00:00:00 2001 From: sAkuraOfficial Date: Sat, 16 Mar 2024 20:50:19 +0800 Subject: [PATCH] format a place --- .../internal/hello_imgui_ini_settings.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/hello_imgui/internal/hello_imgui_ini_settings.cpp b/src/hello_imgui/internal/hello_imgui_ini_settings.cpp index 05e0e3e8..6bc7c2f9 100644 --- a/src/hello_imgui/internal/hello_imgui_ini_settings.cpp +++ b/src/hello_imgui/internal/hello_imgui_ini_settings.cpp @@ -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)