riverctl patch: fix > instead of >= mistake

This commit is contained in:
Zuki Air 2025-07-29 11:57:30 +01:00
parent 642e4d0870
commit b46762bb3f

View File

@ -1,4 +1,4 @@
From 45600be73ddc309ef5e3c5f962883231a973f4e0 Mon Sep 17 00:00:00 2001
From 184aa237dc5d9c6a142183f8e25f4149d7904bf4 Mon Sep 17 00:00:00 2001
From: Zuki Air <zukirust@gmail.com>
Date: Sun, 27 Jul 2025 11:30:32 +0100
Subject: [PATCH] river-ctl patch
@ -448,7 +448,7 @@ index 0000000..aa5fc4d
+</protocol>
diff --git a/river-control.h b/river-control.h
new file mode 100644
index 0000000..329e15b
index 0000000..c59399b
--- /dev/null
+++ b/river-control.h
@@ -0,0 +1,743 @@
@ -631,7 +631,7 @@ index 0000000..329e15b
+const char *zriver_error_no_matching_argument = "no matching argument";
+const char *zriver_error_double_appid = "set appid more then once!";
+const char *zriver_error_double_title = "set title more then once!";
+const char *zriver_error_under_zero = "argument needs to be more then zero!";
+const char *zriver_error_under_zero = "argument can't be less then zero!";
+#define STR_LINK_ARRAY_SIZE 10
+struct Str_link {
+ struct wl_list link;
@ -1011,7 +1011,7 @@ index 0000000..329e15b
+ case(FUNC_STR_ARG_TYPE_UINT):
+ // TODO make overflow check
+ arg->i = strtol(argument,NULL,10);
+ if (arg->i > 0) {
+ if (arg->i >= 0) {
+ arg->ui = arg->i;
+ } else {
+ args->error = true;