[WINESYNC] reg: Drop key output from the "Invalid system key" error message.

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

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

manual adjustment needed
This commit is contained in:
winesync 2022-01-16 21:08:23 +01:00 committed by Thomas Csovcsity
parent 4771673c8f
commit f55096783d
3 changed files with 3 additions and 4 deletions

View file

@ -144,7 +144,7 @@ STRINGTABLE
\ /y\n\
\ Overwrite <file> without prompting for confirmation.\n\n"
STRING_INVALID_SYSTEM_KEY, "reg: Invalid system key [%1]\n"
STRING_INVALID_SYSTEM_KEY, "reg: Invalid system key\n"
STRING_OVERWRITE_FILE, "The file '%1' already exists. Do you want to overwrite it?"
STRING_KEY_NONEXIST, "reg: Unable to find the specified registry key\n"
STRING_KEY_IMPORT_FAILED, "reg: Unable to import the registry key '%1'\n"

View file

@ -240,8 +240,7 @@ BOOL parse_registry_key(const WCHAR *key, HKEY *root, WCHAR **path)
*root = path_get_rootkey(key);
if (!*root)
{
if (*path) *(*path - 1) = 0;
output_message(STRING_INVALID_SYSTEM_KEY, key);
output_message(STRING_INVALID_SYSTEM_KEY);
return FALSE;
}

View file

@ -4,4 +4,4 @@ directories:
files:
programs/reg/resource.h: base/applications/cmdutils/reg/resource.h
tags:
wine: 8b0602023add5c530e4f257ebf07ebae8e4ffdba
wine: 6d2ab37a44c6d0bd58504cbc3ff20d2828afc841