Commit 39e00196 authored by Mehmet Yasar's avatar Mehmet Yasar Committed by Alexandre Julliard

Do not save empty sections names.

parent 6dc401e2
......@@ -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 );
......
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