From 8093060a90b079ac4fc7686b64922b026c49d9be Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 28 May 2003 03:53:20 +0000 Subject: [PATCH] Fix warning, remove hard length --- stepmania/src/InputMapper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/InputMapper.cpp b/stepmania/src/InputMapper.cpp index ec8505568e..5b8f5291d2 100644 --- a/stepmania/src/InputMapper.cpp +++ b/stepmania/src/InputMapper.cpp @@ -68,7 +68,7 @@ void InputMapper::AddDefaultMappingsForCurrentGameIfUnmapped() struct AutoJoyMapping { Game game; - char sDeviceDescription[64]; + const char *sDeviceDescription; bool bIgnoreAxes; int numMappings; struct { @@ -160,7 +160,7 @@ void InputMapper::AutoMapJoysticksForCurrentGame() if( gc == GAME_CONTROLLER_INVALID ) continue; - for( unsigned k=0; k