[WINESYNC] reg: Print a new line when recursing and the current key has no registry...
authorwinesync <ros-dev@reactos.org>
Sun, 16 Jan 2022 20:15:48 +0000 (21:15 +0100)
committerThomas Csovcsity <thc.fr13nd@gmail.com>
Sun, 19 Jun 2022 11:06:34 +0000 (13:06 +0200)
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 35ccb87a767394ea3054c8890ad7b245e431290d by Hugh McMaster <hugh.mcmaster@outlook.com>

base/applications/cmdutils/reg/query.c
modules/rostests/winetests/reg/query.c
sdk/tools/winesync/reg.cfg

index 4af6c7f..66e5454 100644 (file)
@@ -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));
index 4ccbab5..7618679 100644 (file)
@@ -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);
 }
index 93f3edc..bc02cb3 100644 (file)
@@ -4,4 +4,4 @@ directories:
 files:
   programs/reg/resource.h: base/applications/cmdutils/reg/resource.h
 tags:
-  wine: ec0a799ea8884479d7b56b81fb9fdd106f1a751b
+  wine: 35ccb87a767394ea3054c8890ad7b245e431290d