Commit 7b9a1a35 authored by Hugh McMaster's avatar Hugh McMaster Committed by Alexandre Julliard

reg: Output line break before displaying query output.

This matches Windows' behaviour. Signed-off-by: 's avatarHugh McMaster <hugh.mcmaster@outlook.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 43875a7f
......@@ -833,6 +833,7 @@ static int reg_query(WCHAR *key_name, WCHAR *value_name, BOOL value_empty, BOOL
{
WCHAR *p;
HKEY root, key;
WCHAR newlineW[] = {'\n',0};
int ret;
if (!sane_path(key_name))
......@@ -860,6 +861,8 @@ static int reg_query(WCHAR *key_name, WCHAR *value_name, BOOL value_empty, BOOL
return 1;
}
output_string(newlineW);
if (value_name || value_empty)
{
ret = query_value(key, value_name, key_name, recurse);
......
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