mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-06 23:21:57 -07:00
properly rid of whitespace chars from cfg lines
This commit is contained in:
@@ -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(" {"));
|
||||
|
Reference in New Issue
Block a user