From bfe7e090bc77fdb8c0bddbd69988d727d4afea2e Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sun, 3 Aug 2025 13:21:29 +0200 Subject: [PATCH] hyprctl: fix typo in seterror fixes #11297 --- src/debug/HyprCtl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp index 7d0eb114..327c04a6 100644 --- a/src/debug/HyprCtl.cpp +++ b/src/debug/HyprCtl.cpp @@ -1367,7 +1367,7 @@ static std::string dispatchSeterror(eHyprCtlOutputFormat format, std::string req if (vars.size() < 3) { g_pHyprError->destroy(); - if (vars.size() == 2 && !vars[1].find("dis")) + if (vars.size() == 2 && !vars[1].contains("dis")) return "var 1 not color or disable"; return "ok";