cleanup
This commit is contained in:
@@ -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 '.';
|
||||||
|
|||||||
Reference in New Issue
Block a user