mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 07:05:58 +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);
|
result = removeBeginEndSpacesTabs(result);
|
||||||
|
|
||||||
if (result.back() == ',')
|
if (!result.empty() && result.back() == ',')
|
||||||
result.pop_back();
|
result.pop_back();
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Reference in a new issue