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

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Hugh McMaster 2017-07-05 13:32:54 +00:00 committed by Alexandre Julliard
parent d2697467b2
commit 5cc1b227b7
1 changed files with 0 additions and 10 deletions

View File

@ -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;
}