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
39afda4f
Commit
39afda4f
authored
Nov 27, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Nov 28, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winejoystick.drv: Use BOOL type where appropriate.
parent
299edf32
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
joystick.c
dlls/winejoystick.drv/joystick.c
+3
-3
No files found.
dlls/winejoystick.drv/joystick.c
View file @
39afda4f
...
...
@@ -78,7 +78,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(joystick);
typedef
struct
tagWINE_JSTCK
{
int
joyIntf
;
int
in_use
;
BOOL
in_use
;
/* Some extra info we need to make this actually work under the
Linux 2.2 event api.
First of all, we cannot keep closing and reopening the device file -
...
...
@@ -129,7 +129,7 @@ static LRESULT JSTCK_drvOpen(LPSTR str, DWORD dwIntf)
return
0
;
JSTCK_Data
[
dwIntf
].
joyIntf
=
dwIntf
;
JSTCK_Data
[
dwIntf
].
in_use
=
1
;
JSTCK_Data
[
dwIntf
].
in_use
=
TRUE
;
return
(
LRESULT
)
&
JSTCK_Data
[
dwIntf
];
}
...
...
@@ -142,7 +142,7 @@ static LRESULT JSTCK_drvClose(DWORD_PTR dwDevID)
if
(
jstck
==
NULL
)
return
0
;
jstck
->
in_use
=
0
;
jstck
->
in_use
=
FALSE
;
if
(
jstck
->
dev
>
0
)
{
close
(
jstck
->
dev
);
...
...
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