ui/gtk/text.c

changeset 2
ea89bbb0c4c8
parent 0
804d8803eade
child 3
c04433993fbb
--- a/ui/gtk/text.c	Wed Dec 09 11:33:00 2020 +0100
+++ b/ui/gtk/text.c	Thu Dec 10 13:43:25 2020 +0100
@@ -568,6 +568,8 @@
         var = malloc(sizeof(UiVar));
         var->value = value;
         var->type = UI_VAR_SPECIAL;
+        var->from = NULL;
+        var->from_ctx = NULL;
     }
     return create_textfield_var(obj, width, frameless, password, var);
 }

mercurial