mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2025-10-29 11:48:42 +00:00
hyprbars: fix typo in error message (#262)
This commit is contained in:
parent
7dc20bdf16
commit
616e7ef0ac
@ -76,7 +76,7 @@ Hyprlang::CParseResult onNewButton(const char* K, const char* V) {
|
||||
|
||||
auto X = configStringToInt(vars[0]);
|
||||
if (!X) {
|
||||
result.setError("var2 is not a valid number");
|
||||
result.setError("var0 is not a valid number");
|
||||
return result;
|
||||
}
|
||||
g_pGlobalState->buttons.push_back(SHyprButton{vars[3], *X, size, vars[2]});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user