https://git.reactos.org/?p=reactos.git;a=commitdiff;h=3dbd42081e39e2504a92b…
commit 3dbd42081e39e2504a92b223696f2fdb54fedf15
Author: winesync <ros-dev(a)reactos.org>
AuthorDate: Sun Jan 16 21:15:48 2022 +0100
Commit: Thomas Csovcsity <thc.fr13nd(a)gmail.com>
CommitDate: Sun Jun 19 13:06:34 2022 +0200
[WINESYNC] reg: Print a new line when recursing and the current key has no registry
values.
Signed-off-by: Hugh McMaster <hugh.mcmaster(a)outlook.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
wine commit id 35ccb87a767394ea3054c8890ad7b245e431290d by Hugh McMaster
<hugh.mcmaster(a)outlook.com>
---
base/applications/cmdutils/reg/query.c | 2 +-
modules/rostests/winetests/reg/query.c | 2 +-
sdk/tools/winesync/reg.cfg | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/base/applications/cmdutils/reg/query.c
b/base/applications/cmdutils/reg/query.c
index 4af6c7f5449..66e54548688 100644
--- a/base/applications/cmdutils/reg/query.c
+++ b/base/applications/cmdutils/reg/query.c
@@ -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));
diff --git a/modules/rostests/winetests/reg/query.c
b/modules/rostests/winetests/reg/query.c
index 4ccbab58cb8..76186794f5e 100644
--- a/modules/rostests/winetests/reg/query.c
+++ b/modules/rostests/winetests/reg/query.c
@@ -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);
}
diff --git a/sdk/tools/winesync/reg.cfg b/sdk/tools/winesync/reg.cfg
index 93f3edc2ae3..bc02cb30a1e 100644
--- a/sdk/tools/winesync/reg.cfg
+++ b/sdk/tools/winesync/reg.cfg
@@ -4,4 +4,4 @@ directories:
files:
programs/reg/resource.h: base/applications/cmdutils/reg/resource.h
tags:
- wine: ec0a799ea8884479d7b56b81fb9fdd106f1a751b
+ wine: 35ccb87a767394ea3054c8890ad7b245e431290d