Skip to content
Snippets Groups Projects
Commit 39e00196 authored by Mehmet Yasar's avatar Mehmet Yasar Committed by Alexandre Julliard
Browse files

Do not save empty sections names.

parent 6dc401e2
No related branches found
No related tags found
No related merge requests found
......@@ -145,7 +145,7 @@ static void PROFILE_Save( FILE *file, PROFILESECTION *section )
for ( ; section; section = section->next)
{
if (section->name) fprintf( file, "\r\n[%s]\r\n", section->name );
if (section->name[0]) fprintf( file, "\r\n[%s]\r\n", section->name );
for (key = section->key; key; key = key->next)
{
fprintf( file, "%s", key->name );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment