regedit: Return a valid pointer in the QUOTED_VALUE_NAME state if REGPROC_unescape_string() returns FALSE.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Hugh McMaster 2017-08-18 09:14:14 +00:00 committed by Alexandre Julliard
parent 2c438c7ed8
commit 3f0ebaeebb
1 changed files with 1 additions and 1 deletions

View File

@ -748,7 +748,7 @@ static WCHAR *quoted_value_name_state(struct parser *parser, WCHAR *pos)
invalid: invalid:
set_state(parser, LINE_START); set_state(parser, LINE_START);
return p; return val_name;
} }
/* handler for parser DATA_START state */ /* handler for parser DATA_START state */