reg: Do not print a line break after querying a registry key.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Hugh McMaster 2021-04-28 19:19:29 +10:00 committed by Alexandre Julliard
parent c809f94624
commit f32816268e
2 changed files with 1 additions and 5 deletions

View File

@ -287,10 +287,6 @@ static int query_all(HKEY hkey, WCHAR *path, BOOL recurse)
}
free(subkey_name);
if (i && !recurse)
output_string(newlineW);
return 0;
}

View File

@ -225,7 +225,7 @@ static void test_query(void)
read_reg_output("reg query HKCU\\" KEY_BASE, buf, sizeof(buf), &r);
ok(r == REG_EXIT_SUCCESS, "got exit code %d, expected 0\n", r);
compare_query(buf, test3, FALSE, TODO_REG_COMPARE);
compare_query(buf, test3, FALSE, 0);
add_value(subkey, "Test3", REG_SZ, "Some string data", 16);
dword = 0xabc;