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
3321a7fa
Commit
3321a7fa
authored
May 18, 2016
by
Andrey Gusev
Committed by
Alexandre Julliard
May 23, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Fix a typo in WARN() messages.
Signed-off-by:
Andrey Gusev
<
andrey.goosev@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9a8ee50f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
joystick_linux.c
dlls/dinput/joystick_linux.c
+2
-2
No files found.
dlls/dinput/joystick_linux.c
View file @
3321a7fa
...
@@ -163,7 +163,7 @@ static INT find_joystick_devices(void)
...
@@ -163,7 +163,7 @@ static INT find_joystick_devices(void)
#ifdef JSIOCGAXES
#ifdef JSIOCGAXES
if
(
ioctl
(
fd
,
JSIOCGAXES
,
&
joydev
.
axis_count
)
<
0
)
if
(
ioctl
(
fd
,
JSIOCGAXES
,
&
joydev
.
axis_count
)
<
0
)
{
{
WARN
(
"ioctl(%s,JSIOCGAXES) failed: %s, defauting to 2
\n
"
,
joydev
.
device
,
strerror
(
errno
));
WARN
(
"ioctl(%s,JSIOCGAXES) failed: %s, defau
l
ting to 2
\n
"
,
joydev
.
device
,
strerror
(
errno
));
joydev
.
axis_count
=
2
;
joydev
.
axis_count
=
2
;
}
}
#else
#else
...
@@ -173,7 +173,7 @@ static INT find_joystick_devices(void)
...
@@ -173,7 +173,7 @@ static INT find_joystick_devices(void)
#ifdef JSIOCGBUTTONS
#ifdef JSIOCGBUTTONS
if
(
ioctl
(
fd
,
JSIOCGBUTTONS
,
&
joydev
.
button_count
)
<
0
)
if
(
ioctl
(
fd
,
JSIOCGBUTTONS
,
&
joydev
.
button_count
)
<
0
)
{
{
WARN
(
"ioctl(%s,JSIOCGBUTTONS) failed: %s, defauting to 2
\n
"
,
joydev
.
device
,
strerror
(
errno
));
WARN
(
"ioctl(%s,JSIOCGBUTTONS) failed: %s, defau
l
ting to 2
\n
"
,
joydev
.
device
,
strerror
(
errno
));
joydev
.
button_count
=
2
;
joydev
.
button_count
=
2
;
}
}
#else
#else
...
...
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