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 )