pspp: Avoid printing multiple messages for a single signal caused by a bug.
[pspp-builds.git] / src / ui / gui / helper.c
index 9a1172a4db3329fd93f8bbcb75ac0d5a78839764..1ad77bc96ebf0190a633ca02b70179970980e3fb 100644 (file)
@@ -97,11 +97,8 @@ text_to_value (const gchar *text,
     }
 
   value_init (val, width);
-  msg_disable ();
-  data_in (ss_cstr (text), UTF8, format->type, 0, 0, 0,
-               dict->dict,
-                val, width);
-  msg_enable ();
+  free (data_in (ss_cstr (text), UTF8, format->type, val, width,
+                 dict_get_encoding (dict->dict)));
 
   return val;
 }