]> saetta.ns0.it Git - zakform/ini/commitdiff
Use of GKeyFile::get_string to handle escaped characters.
authorAndrea Zagli <azagli@libero.it>
Wed, 4 May 2016 14:11:37 +0000 (16:11 +0200)
committerAndrea Zagli <azagli@libero.it>
Wed, 4 May 2016 14:11:37 +0000 (16:11 +0200)
src/form.c

index b7914e000deb00c54c5134128985c168a112fb5b..c744e306f2d6eaadd297fdd966c6e929115dd893 100644 (file)
@@ -411,7 +411,7 @@ zak_form_ini_provider_load (ZakFormIProvider *provider, GPtrArray *elements)
                        if (zak_form_element_get_to_load (element))
                                {
                                        error = NULL;
-                                       zak_form_element_set_value (element, g_key_file_get_value (priv->kfile, group, zak_form_element_get_name (element), &error));
+                                       zak_form_element_set_value (element, g_key_file_get_string (priv->kfile, group, zak_form_element_get_name (element), &error));
                                        zak_form_element_set_as_original_value (element);
                                }
                }