reg: Print a new line when recursing and the current key has no registry values.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ec0a799ea8
commit
35ccb87a76
|
@ -262,7 +262,7 @@ static int query_all(HKEY hkey, WCHAR *path, BOOL recurse, BOOL recursing)
|
|||
free(data);
|
||||
free(value_name);
|
||||
|
||||
if (i || recurse)
|
||||
if (i || recursing)
|
||||
output_string(newlineW);
|
||||
|
||||
subkey_name = malloc(MAX_SUBKEY_LEN * sizeof(WCHAR));
|
||||
|
|
|
@ -286,7 +286,7 @@ static void test_query(void)
|
|||
|
||||
read_reg_output("reg query HKCU\\" KEY_BASE " /s", buf, sizeof(buf), &r);
|
||||
ok(r == REG_EXIT_SUCCESS, "got exit code %d, expected 0\n", r);
|
||||
compare_query(buf, test8b, FALSE, TODO_REG_COMPARE);
|
||||
compare_query(buf, test8b, FALSE, 0);
|
||||
|
||||
delete_tree(HKEY_CURRENT_USER, KEY_BASE);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue