mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-02 07:36:17 +01:00
Fix 344868
This commit is contained in:
parent
fdc1c28a5e
commit
99998793d5
@ -1,3 +1,8 @@
|
||||
2006-06-14 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gkeyfile.c (g_key_file_to_data): Separate groups by
|
||||
an empty line (#344868, Christian Persch)
|
||||
|
||||
2006-06-14 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* glib/gutils.c (g_listenv): Add Windows notes to doc comment.
|
||||
|
@ -1,3 +1,8 @@
|
||||
2006-06-14 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gkeyfile.c (g_key_file_to_data): Separate groups by
|
||||
an empty line (#344868, Christian Persch)
|
||||
|
||||
2006-06-14 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* glib/gutils.c (g_listenv): Add Windows notes to doc comment.
|
||||
|
@ -943,6 +943,10 @@ g_key_file_to_data (GKeyFile *key_file,
|
||||
|
||||
group = (GKeyFileGroup *) group_node->data;
|
||||
|
||||
/* separate groups by an empty line */
|
||||
if (group_node->next)
|
||||
g_string_append_c (data_string, '\n');
|
||||
|
||||
if (group->comment != NULL)
|
||||
g_string_append_printf (data_string, "%s\n", group->comment->value);
|
||||
if (group->name != NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user