From b69fad7b1573d1279a51ebe2fc604ba3232be837 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Strohh=C3=A4cker?= Date: Thu, 5 Jul 2007 19:26:33 +0000 Subject: [PATCH] typo Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2917 --- src/gui/sdl_mapper.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/gui/sdl_mapper.cpp b/src/gui/sdl_mapper.cpp index 86e0de37..0c9cee36 100644 --- a/src/gui/sdl_mapper.cpp +++ b/src/gui/sdl_mapper.cpp @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: sdl_mapper.cpp,v 1.36 2007-07-05 17:49:40 qbix79 Exp $ */ +/* $Id: sdl_mapper.cpp,v 1.37 2007-07-05 19:26:33 c2woody Exp $ */ #include #include @@ -651,7 +651,7 @@ public: axes_cap=emulated_axes; if (axes_cap>axes) axes_cap=axes; hats_cap=emulated_hats; - if (hats_cap>axes) hats_cap=hats; + if (hats_cap>hats) hats_cap=hats; LOG_MSG("Using joystick %s with %d axes, %d buttons and %d hat(s)",SDL_JoystickName(stick),axes,buttons,hats); } ~CStickBindGroup() { @@ -889,7 +889,7 @@ public: axes_cap=emulated_axes; if (axes_cap>axes) axes_cap=axes; hats_cap=emulated_hats; - if (hats_cap>axes) hats_cap=hats; + if (hats_cap>hats) hats_cap=hats; JOYSTICK_Enable(1,true); } @@ -961,7 +961,7 @@ public: axes_cap=emulated_axes; if (axes_cap>axes) axes_cap=axes; hats_cap=emulated_hats; - if (hats_cap>axes) hats_cap=hats; + if (hats_cap>hats) hats_cap=hats; JOYSTICK_Enable(1,true); JOYSTICK_Move_Y(1,1.0); @@ -1097,7 +1097,7 @@ public: axes_cap=emulated_axes; if (axes_cap>axes) axes_cap=axes; hats_cap=emulated_hats; - if (hats_cap>axes) hats_cap=hats; + if (hats_cap>hats) hats_cap=hats; JOYSTICK_Enable(1,true); button_state=0;