From 2d9bb348257744c157ea56081aec9045ed8e58fb Mon Sep 17 00:00:00 2001 From: Michael <13953785+Laserlicht@users.noreply.github.com> Date: Fri, 11 Aug 2023 01:49:10 +0200 Subject: [PATCH] format --- client/lobby/SelectionTab.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/client/lobby/SelectionTab.cpp b/client/lobby/SelectionTab.cpp index 7fe1318bc..436cd3d7d 100644 --- a/client/lobby/SelectionTab.cpp +++ b/client/lobby/SelectionTab.cpp @@ -357,13 +357,13 @@ void SelectionTab::showPopupWindow(const Point & cursorPosition) auto SelectionTab::checkSubfolder(std::string path) { - struct Ret - { - std::string folderName; - std::string baseFolder; - bool parentExists; - bool fileInFolder; - } ret; + struct Ret + { + std::string folderName; + std::string baseFolder; + bool parentExists; + bool fileInFolder; + } ret; ret.parentExists = (curFolder != ""); ret.fileInFolder = false; @@ -392,7 +392,7 @@ auto SelectionTab::checkSubfolder(std::string path) if(boost::count(pathWithoutPrefix.substr(curFolder.size()), '/') == 0) ret.fileInFolder = true; - return ret; + return ret; } // A new size filter (Small, Medium, ...) has been selected. Populate