Commit 5cc1b227 authored by Hugh McMaster's avatar Hugh McMaster Committed by Alexandre Julliard

regedit: Do not remove lines beginning with a semicolon from the read buffer.

parent d2697467
......@@ -991,11 +991,6 @@ static WCHAR *get_lineA(FILE *fp)
next = p + 1;
if (*p == '\r' && *(p + 1) == '\n') next++;
*p = 0;
if (*line == ';')
{
line = next;
continue;
}
lineW = GetWideString(line);
return lineW;
}
......@@ -1054,11 +1049,6 @@ static WCHAR *get_lineW(FILE *fp)
next = p + 1;
if (*p == '\r' && *(p + 1) == '\n') next++;
*p = 0;
if (*line == ';')
{
line = next;
continue;
}
return line;
}
......
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