reg/tests: Output "(Default)" when referring to the default registry value.

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-06-15 11:58:21 +00:00 committed by Alexandre Julliard
parent fd6442f431
commit c882a06429
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ static void verify_reg_nonexist_(unsigned line, HKEY hkey, const char *value)
err = RegQueryValueExA(hkey, value, NULL, NULL, NULL, NULL);
lok(err == ERROR_FILE_NOT_FOUND, "registry value '%s' shouldn't exist; got %d, expected 2\n",
value, err);
(value && *value) ? value : "(Default)", err);
}
#define verify_key_exist(k,s) verify_key_exist_(__LINE__,k,s)