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:
parent
d2697467b2
commit
5cc1b227b7
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue