diff Keyboard.cpp @ 81:517e33e08d93

Слияние
author Ritor1
date Sun, 28 Oct 2012 22:13:41 +0600
parents 8b0c4d626477
children af624eaf2fc5
line wrap: on
line diff
--- a/Keyboard.cpp	Sun Oct 28 22:13:23 2012 +0600
+++ b/Keyboard.cpp	Sun Oct 28 22:13:41 2012 +0600
@@ -716,9 +716,9 @@
     return VK_UP;
   if ( !strcmp(Str, "DOWN") )
     return VK_DOWN;
-  if ( !strcmp(Str, ascii_4E2D48) )
+  if (!strcmp(Str, "") || !strcmp(Str, "LEFT"))
     return VK_LEFT;
-  if ( !strcmp(Str, ascii_4E2D40) )
+  if (!strcmp(Str, "") || !strcmp(Str, "RIGHT"))
     return VK_RIGHT;
   if ( !strcmp(Str, "RETURN") )
     return VK_RETURN;