diff Keyboard.cpp @ 1459:2ca62c9e7b3c

Function names
author Nomad
date Wed, 21 Aug 2013 16:06:50 +0200
parents 5450af4f57ef
children 35c1e4ff6ba7
line wrap: on
line diff
--- a/Keyboard.cpp	Wed Aug 21 14:26:36 2013 +0200
+++ b/Keyboard.cpp	Wed Aug 21 16:06:50 2013 +0200
@@ -191,8 +191,8 @@
           return 1;
         }
 LABEL_15:
-        v3 = 3;
-        goto LABEL_4;
+        pKeyActionMap->SetWindowInputStatus(WINDOW_INPUT_CANCELLED);
+        return 1;
       }
     }
     if ( !pKeyActionMap->uNumKeysPressed )
@@ -203,10 +203,9 @@
   pKeyActionMap->pPressedKeysBuffer[pKeyActionMap->uNumKeysPressed] = a2;
   ++pKeyActionMap->uNumKeysPressed;
   pKeyActionMap->pPressedKeysBuffer[pKeyActionMap->uNumKeysPressed] = 0;
+
 LABEL_3:
-  v3 = 2;
-LABEL_4:
-  pKeyActionMap->SetWindowInputStatus(v3);
+  pKeyActionMap->SetWindowInputStatus(WINDOW_INPUT_CONFIRMED);
   return 1;
 }
 // 506E68: using guessed type int uGameMenuUI_CurentlySelectedKeyIdx;