diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-05-06 01:08:59 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-05-06 01:10:05 +0100 |
| commit | 583b8842e74b9a3d3b42280a6a53a382554a1975 (patch) | |
| tree | 8965a6205945c921abe65b44b74175c0b42297c9 /src/config/ConfigManager.cpp | |
| parent | a8541d5f645185f184f1c724386ba5aa38fbd18a (diff) | |
configmanager: fix substr offset in default ws rule
Diffstat (limited to 'src/config/ConfigManager.cpp')
| -rw-r--r-- | src/config/ConfigManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index 164741b5..04764779 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -1055,7 +1055,7 @@ void CConfigManager::handleWorkspaceRules(const std::string& command, const std: else if ((delim = rule.find("monitor:")) != std::string::npos) wsRule.monitor = rule.substr(delim + 8); else if ((delim = rule.find("default:")) != std::string::npos) - wsRule.isDefault = configStringToInt(rule.substr(delim + 9)); + wsRule.isDefault = configStringToInt(rule.substr(delim + 8)); }; size_t pos = 0; |
