This commit is contained in:
Glenn Maynard
2005-01-27 03:07:09 +00:00
parent 223bc37345
commit 03fc38558f
+6 -4
View File
@@ -39,10 +39,12 @@ wchar_t VirtualKeyboard::Translate( const DeviceInput& DeviceI, const MenuInput
if(button == MENU_BUTTON_RIGHT)
{
*nextChar = true;
if(currentMode == VKMODE_PROFILE)
return ' ';
else
return '0';
switch( currentMode )
{
case VKMODE_PROFILE: return ' ';
case VKMODE_IP: return '0';
default: FAIL_M( ssprintf("%i", currentMode) );
}
}
else if(button == MENU_BUTTON_UP)
{