diff options
| author | Vaxry <vaxry@vaxry.net> | 2025-08-03 13:21:29 +0200 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2025-08-03 13:21:29 +0200 |
| commit | bfe7e090bc77fdb8c0bddbd69988d727d4afea2e (patch) | |
| tree | 8c07f70aa2f02dd3bf79d041cf1814e02f5c1108 /src/debug | |
| parent | 824438949e60ad6d6fefdfa37f0af8fbe0849934 (diff) | |
hyprctl: fix typo in seterror
fixes #11297
Diffstat (limited to 'src/debug')
| -rw-r--r-- | src/debug/HyprCtl.cpp | 2 |
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"; |
