From 616e7ef0aca905b9b4012d2bedbb9225d51040bf Mon Sep 17 00:00:00 2001 From: Filip <78978614+HermanPlay@users.noreply.github.com> Date: Thu, 26 Dec 2024 11:36:14 +0100 Subject: [PATCH] hyprbars: fix typo in error message (#262) --- hyprbars/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyprbars/main.cpp b/hyprbars/main.cpp index caecb8d..9ef2565 100644 --- a/hyprbars/main.cpp +++ b/hyprbars/main.cpp @@ -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]});