mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2025-01-07 04:49:49 +01:00
hyprbars: fix typo in error message (#262)
This commit is contained in:
parent
7dc20bdf16
commit
616e7ef0ac
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue