ui/gtk/container.c

changeset 768
dc8e64b87e60
parent 766
8b984742f45b
child 783
25b2da0aac15
--- a/ui/gtk/container.c	Mon Sep 15 16:12:34 2025 +0200
+++ b/ui/gtk/container.c	Mon Sep 15 22:59:40 2025 +0200
@@ -1093,7 +1093,7 @@
         if(pos_str) {
             char *end;
             long pos = strtol(pos_str, &end, 10);
-            if(*end = '\0') {
+            if(*end == '\0') {
                 args->initial_position = (int)pos;
             }
         }

mercurial