mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-22 20:49:49 +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