mirror of
https://github.com/hyprwm/hyprlang.git
synced 2026-05-09 09:28:01 +02:00
config/parser: don't return found on dontErrorOnMissing in special
fixes https://github.com/hyprwm/hyprland-plugins/issues/539
This commit is contained in:
parent
8b3da759ec
commit
deea98d5b6
1 changed files with 1 additions and 1 deletions
|
|
@ -372,7 +372,7 @@ std::pair<bool, CParseResult> CConfig::configSetValueSafe(const std::string& com
|
|||
if (VALUEIT != sc->values.end())
|
||||
found = true;
|
||||
else if (sc->descriptor->dontErrorOnMissing)
|
||||
return {true, result}; // will return a success, cuz we want to ignore missing
|
||||
return {false, result}; // will return a success, cuz we want to ignore missing
|
||||
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue