mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-09-11 13:25:42 +03:00
parent
43b96f03b5
commit
785d9d9521
@ -2084,7 +2084,7 @@ std::optional<std::string> CConfigManager::handleWindowRuleV2(const std::string&
|
||||
|
||||
result = removeBeginEndSpacesTabs(result);
|
||||
|
||||
if (result.back() == ',')
|
||||
if (!result.empty() && result.back() == ',')
|
||||
result.pop_back();
|
||||
|
||||
return result;
|
||||
|
Loading…
Reference in New Issue
Block a user