ui/motif/text.c

changeset 36
e4198fc2ead4
parent 34
0ec8a5f17782
child 60
7cd1b8890302
--- a/ui/motif/text.c	Sun May 11 10:41:29 2014 +0200
+++ b/ui/motif/text.c	Sun May 11 11:35:33 2014 +0200
@@ -59,6 +59,10 @@
     
     // bind value
     if(value) {
+        if(value->value) {
+            XmTextSetString(text_area, value->value);
+        }
+        
         value->set = ui_textarea_set;
         value->get = ui_textarea_get;
         value->getsubstr = ui_textarea_getsubstr;

mercurial