fix wrong fprintf arg

Wed, 19 Nov 2025 09:20:18 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Wed, 19 Nov 2025 09:20:18 +0100
changeset 916
6fdcf1cbbec9
parent 915
ddbbceb8c3a5
child 917
ca3918f9c96b

fix wrong fprintf arg

ui/common/context.c file | annotate | diff | comparison | revisions
--- a/ui/common/context.c	Tue Nov 18 18:54:53 2025 +0100
+++ b/ui/common/context.c	Wed Nov 19 09:20:18 2025 +0100
@@ -464,7 +464,7 @@
     } else {
         // override var with new value
         if(var->type != type) {
-            fprintf(stderr, "Error: var %s type mismatch: %s - %s\n", name, uic_type2str(var->type), type);
+            fprintf(stderr, "Error: var %s type mismatch: %s - %s\n", name, uic_type2str(var->type), uic_type2str(type));
             return;
         }
         if(var->bound) {

mercurial