Commit 35ccb87a authored by Hugh McMaster's avatar Hugh McMaster Committed by Alexandre Julliard

reg: Print a new line when recursing and the current key has no registry values.

parent ec0a799e
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment