fix DeviceInput::ToChar for delete
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user