[WINESYNC] reg: Add a new message to indicate when a registry key fails to import.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>

wine commit id 9b7a5cfb0e709e4434575daf960f803338bdf6bd by Hugh McMaster <hugh.mcmaster@outlook.com>

manual adjustment needed
This commit is contained in:
winesync 2022-01-16 21:01:12 +01:00 committed by Thomas Csovcsity
parent e11511da86
commit 235d5af3af
4 changed files with 5 additions and 3 deletions

View file

@ -523,7 +523,7 @@ static WCHAR *parse_win31_line_state(struct parser *parser, WCHAR *pos)
if (open_key(parser, line) != ERROR_SUCCESS)
{
output_message(STRING_OPEN_KEY_FAILED, line);
output_message(STRING_KEY_IMPORT_FAILED, line);
return line;
}
@ -584,7 +584,7 @@ static WCHAR *key_name_state(struct parser *parser, WCHAR *pos)
return p + 1;
}
else if (open_key(parser, p) != ERROR_SUCCESS)
output_message(STRING_OPEN_KEY_FAILED, p);
output_message(STRING_KEY_IMPORT_FAILED, p);
done:
set_state(parser, LINE_START);