hyprbars: fix typo in error message (#262)

This commit is contained in:
Filip 2024-12-26 11:36:14 +01:00 committed by GitHub
parent 7dc20bdf16
commit 616e7ef0ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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]});