Pass through the coding styles

This commit is contained in:
Alexander Bock
2025-06-05 10:59:58 +02:00
parent 7b731219aa
commit fbd4128b34
56 changed files with 179 additions and 112 deletions

View File

@@ -1480,7 +1480,10 @@ int main(int argc, char* argv[]) {
config = launcher.selectedWindowConfig();
if (config.find(labelFromCfgFile) != std::string::npos) {
if (config.find("sgct.config") == std::string::npos) {
config = config.substr(0, config.length() - labelFromCfgFile.length());
config = config.substr(
0,
config.length() - labelFromCfgFile.length()
);
}
else {
config = windowConfiguration;