Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f3281626
Commit
f3281626
authored
Apr 28, 2021
by
Hugh McMaster
Committed by
Alexandre Julliard
Apr 28, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
>
parent
c809f946
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
query.c
programs/reg/query.c
+0
-4
query.c
programs/reg/tests/query.c
+1
-1
No files found.
programs/reg/query.c
View file @
f3281626
...
...
@@ -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
;
}
...
...
programs/reg/tests/query.c
View file @
f3281626
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment