Skip to content

Commit

Permalink
hyprbars: fix typo in error message (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
HermanPlay authored Dec 26, 2024
1 parent 7dc20bd commit 616e7ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hyprbars/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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]});
Expand Down

0 comments on commit 616e7ef

Please sign in to comment.