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
02be0aee
Commit
02be0aee
authored
Jan 24, 2011
by
Vitaliy Margolen
Committed by
Alexandre Julliard
Jan 25, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Fix typo. Found by clang.
parent
e415b382
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
effect_linuxinput.c
dlls/dinput/effect_linuxinput.c
+2
-2
joystick.c
dlls/dinput/tests/joystick.c
+4
-0
No files found.
dlls/dinput/effect_linuxinput.c
View file @
02be0aee
...
...
@@ -289,8 +289,8 @@ static HRESULT WINAPI LinuxInputEffectImpl_GetEffectGuid(
TRACE
(
"(this=%p,%p)
\n
"
,
This
,
pguid
);
pguid
=
&
This
->
guid
;
*
pguid
=
This
->
guid
;
return
DI_OK
;
}
...
...
dlls/dinput/tests/joystick.c
View file @
02be0aee
...
...
@@ -375,6 +375,7 @@ static BOOL CALLBACK EnumJoysticks(
{
DWORD
effect_status
;
struct
DIPROPDWORD
diprop_word
;
GUID
guid
=
{
0
};
hr
=
IDirectInputEffect_Initialize
(
effect
,
hInstance
,
data
->
version
,
&
GUID_ConstantForce
);
...
...
@@ -429,6 +430,9 @@ static BOOL CALLBACK EnumJoysticks(
hr
=
IDirectInputEffect_GetEffectStatus
(
effect
,
&
effect_status
);
ok
(
hr
==
DI_OK
,
"IDirectInputEffect_GetEffectStatus() failed: %08x
\n
"
,
hr
);
todo_wine
ok
(
effect_status
!=
0
,
"IDirectInputEffect_GetEffectStatus() reported effect as stopped
\n
"
);
hr
=
IDirectInputEffect_GetEffectGuid
(
effect
,
&
guid
);
ok
(
hr
==
DI_OK
,
"IDirectInputEffect_GetEffectGuid() failed: %08x
\n
"
,
hr
);
ok
(
IsEqualGUID
(
&
GUID_ConstantForce
,
&
guid
),
"Wrong guid returned
\n
"
);
/* Check autocenter status
* State: initialy stopped
...
...
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