This commit is contained in:
Glenn Maynard
2005-01-27 03:10:44 +00:00
parent a9afc64d1b
commit df26767695
+4 -2
View File
@@ -131,14 +131,16 @@ wchar_t VirtualKeyboard::Translate( const DeviceInput& DeviceI, const MenuInput
{ {
// make a space or . // make a space or .
if(currentMode != VKMODE_IP) switch( currentMode )
{
case VKMODE_PROFILE:
{ {
if(cur_string.empty()) if(cur_string.empty())
*nextChar = true; *nextChar = true;
return ' '; return ' ';
} }
else if(currentMode == VKMODE_IP) case VKMODE_IP:
{ {
if(!cur_string.empty()) if(!cur_string.empty())
return '.'; return '.';