From: Andrea Zagli Date: Wed, 4 May 2016 14:11:37 +0000 (+0200) Subject: Use of GKeyFile::get_string to handle escaped characters. X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=b816e3b1bc22136071260852130b42de6f5fa599;p=zakform%2Fini Use of GKeyFile::get_string to handle escaped characters. --- diff --git a/src/form.c b/src/form.c index b7914e0..c744e30 100644 --- a/src/form.c +++ b/src/form.c @@ -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); } }