Andrey Gusev : dinput: Fix a typo in WARN() messages.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon May 23 10:27:46 CDT 2016
Module: wine
Branch: master
Commit: 3321a7faec108d19eeb426ab6ff7ae41642f56b1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3321a7faec108d19eeb426ab6ff7ae41642f56b1
Author: Andrey Gusev <andrey.goosev at gmail.com>
Date: Wed May 18 16:15:30 2016 +0300
dinput: Fix a typo in WARN() messages.
Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/dinput/joystick_linux.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/dinput/joystick_linux.c b/dlls/dinput/joystick_linux.c
index 261cee1..5b02df4 100644
--- a/dlls/dinput/joystick_linux.c
+++ b/dlls/dinput/joystick_linux.c
@@ -163,7 +163,7 @@ static INT find_joystick_devices(void)
#ifdef JSIOCGAXES
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, defaulting to 2\n", joydev.device, strerror(errno));
joydev.axis_count = 2;
}
#else
@@ -173,7 +173,7 @@ static INT find_joystick_devices(void)
#ifdef JSIOCGBUTTONS
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, defaulting to 2\n", joydev.device, strerror(errno));
joydev.button_count = 2;
}
#else
More information about the wine-cvs
mailing list