[WINESYNC] reg: Add a message to better indicate when a specified registry key is not found.

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

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

manual adjustment needed
This commit is contained in:
winesync 2022-01-16 20:59:23 +01:00 committed by Thomas Csovcsity
parent 9b424b0080
commit e11511da86
6 changed files with 7 additions and 5 deletions

View file

@ -302,7 +302,7 @@ static int run_query(HKEY root, WCHAR *path, WCHAR *key_name, WCHAR *value_name,
if (RegOpenKeyExW(root, path, 0, KEY_READ, &key) != ERROR_SUCCESS)
{
output_message(STRING_CANNOT_FIND);
output_message(STRING_KEY_NONEXIST);
return 1;
}