diff options
-rw-r--r-- | src/config/ConfigManager.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index 07ea3d03..142c8d71 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -1126,10 +1126,7 @@ void CConfigManager::parseLine(std::string& line) { startPos++; } - // remove shit at the beginning - while (line[0] == ' ' || line[0] == '\t') { - line = line.substr(1); - } + line = removeBeginEndSpacesTabs(line); if (line.contains(" {")) { auto cat = line.substr(0, line.find(" {")); |