reg: Output line break before displaying query output.

This matches Windows' behaviour.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Hugh McMaster 2016-05-02 12:06:33 +00:00 committed by Alexandre Julliard
parent 43875a7fae
commit 7b9a1a355f
1 changed files with 3 additions and 0 deletions

View File

@ -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);