From 727dc9ae5e867ec6d870c7bf20033a223a5ce81b Mon Sep 17 00:00:00 2001 From: Vaxry Date: Fri, 9 Feb 2024 20:28:39 +0000 Subject: [PATCH] fix ws rules --- src/config/ConfigManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index 7d19bef7..9b9a95d2 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -2149,7 +2149,7 @@ std::optional CConfigManager::handleWorkspaceRules(const std::strin }; size_t pos = 0; - std::string rule; + std::string rule = rules; while ((pos = rules.find(',')) != std::string::npos) { rule = rules.substr(0, pos); const auto R = assignRule(rule);