Module: wine Branch: master Commit: e4b1abefdd3c40d7c41514d134e7205d3f47a962 URL: http://source.winehq.org/git/wine.git/?a=commit;h=e4b1abefdd3c40d7c41514d134...
Author: Alexander Nicolaysen Sørnes alex@thehandofagony.com Date: Fri Jul 11 02:55:14 2008 +0200
regedit: Fix comment handling in Unicode file import.
---
programs/regedit/regproc.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/programs/regedit/regproc.c b/programs/regedit/regproc.c index 4721bf3..98fd8b1 100644 --- a/programs/regedit/regproc.c +++ b/programs/regedit/regproc.c @@ -763,8 +763,8 @@ void processRegLinesW(FILE *in) s_eol = strchrW(s, '\n');
/* If it is a comment line then discard it and go around again */ - if (buf[0] == '#') { - s = buf; + if (*s == '#') { + s = s_eol + 1; continue; }