Просмотр исходного кода

Fixes iOS keyboard issue and fixes a warning

Brandon Slack 13 лет назад
Родитель
Сommit
59230ad054
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      gameplay/src/Platform.h
  2. 1 1
      gameplay/src/PlatformiOS.mm

+ 1 - 1
gameplay/src/Platform.h

@@ -117,7 +117,7 @@ public:
      *
      * @param display true when virtual keyboard needs to be displayed and false otherwise.
      */
-     static void displayKeyboard(bool display);
+    static void displayKeyboard(bool display);
 
     static void touchEventInternal(Touch::TouchEvent evt, int x, int y, unsigned int contactIndex);
 

+ 1 - 1
gameplay/src/PlatformiOS.mm

@@ -845,7 +845,7 @@ void Platform::swapBuffers()
         [__view swapBuffers];
 }
 
-void displayKeyboard(bool display) 
+void Platform::displayKeyboard(bool display) 
 {
     if(__view) 
     {