From 3e591eb615872c81b702c6b81a85ff5a3e7430b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Strohh=C3=A4cker?= Date: Thu, 22 Feb 2007 15:12:48 +0000 Subject: [PATCH] initialize variable in dummy case Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2823 --- src/gui/sdl_mapper.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/sdl_mapper.cpp b/src/gui/sdl_mapper.cpp index 58b7da48..6c15ed2a 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.32 2007-02-22 08:44:07 qbix79 Exp $ */ +/* $Id: sdl_mapper.cpp,v 1.33 2007-02-22 15:12:48 c2woody Exp $ */ #include #include @@ -600,6 +600,7 @@ public: if (_dummy) { sdl_joystick=NULL; axes=0; buttons=0; hats=0; + button_wrap=16; return; }