summaryrefslogtreecommitdiff
path: root/src/debug/HyprCtl.cpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2025-08-03 13:21:29 +0200
committerVaxry <vaxry@vaxry.net>2025-08-03 13:21:29 +0200
commitbfe7e090bc77fdb8c0bddbd69988d727d4afea2e (patch)
tree8c07f70aa2f02dd3bf79d041cf1814e02f5c1108 /src/debug/HyprCtl.cpp
parent824438949e60ad6d6fefdfa37f0af8fbe0849934 (diff)
hyprctl: fix typo in seterror
fixes #11297
Diffstat (limited to 'src/debug/HyprCtl.cpp')
-rw-r--r--src/debug/HyprCtl.cpp2
1 files changed, 1 insertions, 1 deletions
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";