Hugh McMaster <hugh.mcmaster(a)outlook.com> writes:
Signed-off-by: Hugh McMaster <hugh.mcmaster(a)outlook.com> --- programs/regedit/regproc.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/programs/regedit/regproc.c b/programs/regedit/regproc.c index 131149f..bce551b 100644 --- a/programs/regedit/regproc.c +++ b/programs/regedit/regproc.c @@ -749,6 +749,7 @@ static char *get_lineA(FILE *fp) next = line; continue; } + while (*line == ' ' || *line == '\t') line++; if (*line == ';' || *line == '#') { line = next;
This is going to affect non-comment lines too, is that what you want? If so, the commit message is a bit misleading. -- Alexandre Julliard julliard(a)winehq.org