[PATCH 1/3] regedit: Do not remove lines beginning with a semicolon from the read buffer
Hugh McMaster
hugh.mcmaster at outlook.com
Wed Jul 5 08:32:54 CDT 2017
Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
---
programs/regedit/regproc.c | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/programs/regedit/regproc.c b/programs/regedit/regproc.c
index 92c30e9fbb..74f0640472 100644
--- a/programs/regedit/regproc.c
+++ b/programs/regedit/regproc.c
@@ -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;
}
--
2.11.0
More information about the wine-patches
mailing list