regedit: Fix comment handling in Unicode file import.
This commit is contained in:
parent
e83d8dad04
commit
e4b1abefdd
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue