mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 15:05:59 +01:00
parent
43b96f03b5
commit
785d9d9521
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue