Commit 495d95f7 authored by Victor Ananjevsky's avatar Victor Ananjevsky

fix parsing ranges for num field in form dialog

parent 7ee1400b
...@@ -207,7 +207,7 @@ set_field_value (guint num, gchar * value) ...@@ -207,7 +207,7 @@ set_field_value (guint num, gchar * value)
if (s[1]) if (s[1])
{ {
gchar **s1 = g_strsplit (s[1], "..", 2); gchar **s1 = g_strsplit (s[1], "..", 2);
if (s[0] && s[1]) if (s1[0] && s1[1])
{ {
gdouble min, max; gdouble min, max;
min = g_ascii_strtod (s1[0], NULL); min = g_ascii_strtod (s1[0], NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment