From 81f38d89c3b79d634fceb07c8f7aeecd0e7cfd7b Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 9 Dec 2005 02:17:38 +0000 Subject: [PATCH] fix DeviceInput::ToChar for delete --- stepmania/src/RageInputDevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/RageInputDevice.cpp b/stepmania/src/RageInputDevice.cpp index f1167a5a37..9c91df1ec6 100644 --- a/stepmania/src/RageInputDevice.cpp +++ b/stepmania/src/RageInputDevice.cpp @@ -346,7 +346,7 @@ char DeviceInput::ToChar() const switch( device ) { case DEVICE_KEYBOARD: - if( button < 128 ) + if( button < 127 ) return (char) button; if( button >= KEY_KP_C0 && button <= KEY_KP_C9 )