Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
573e8bad
Commit
573e8bad
authored
Jun 07, 2021
by
Rémi Bernon
Committed by
Alexandre Julliard
Jun 07, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hid/tests: Don't print buttons after HidP_GetUsages failed.
Signed-off-by:
Rémi Bernon
<
rbernon@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
673815e0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
device.c
dlls/hid/tests/device.c
+1
-1
No files found.
dlls/hid/tests/device.c
View file @
573e8bad
...
...
@@ -215,7 +215,7 @@ static void process_data(HIDP_CAPS Caps, PHIDP_PREPARSED_DATA ppd, CHAR *data, D
status
=
HidP_GetUsages
(
HidP_Input
,
i
,
0
,
button_pages
,
&
usage_length
,
ppd
,
data
,
data_length
);
ok
(
status
==
HIDP_STATUS_SUCCESS
||
usage_length
==
0
,
"HidP_GetUsages failed (%x) but usage length still %i
\n
"
,
status
,
usage_length
);
if
(
usage_length
)
if
(
status
==
HIDP_STATUS_SUCCESS
&&
usage_length
)
{
CHAR
report
[
50
];
int
count
;
...
...
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