diff --git a/src/Constants.h b/src/Constants.h index 6cb5f6eb6..69b368038 100644 --- a/src/Constants.h +++ b/src/Constants.h @@ -5,18 +5,18 @@ */ #define GAME_MAX_CMDARGS 5 -#define GAME_APP_VER "1.1.1" +#define GAME_APP_VER "1.1.2" #define GAME_API_VER 1 #if defined CC_BUILD_WEB #define GAME_APP_NAME "ClassiCube web client" #define GAME_APP_TITLE "ClassiCube" #elif defined CC_BUILD_COCOA -#define GAME_APP_NAME "ClassiCube 1.1.1 alpha" -#define GAME_APP_TITLE "ClassiCube 1.1.1 alpha" +#define GAME_APP_NAME "ClassiCube 1.1.2 alpha" +#define GAME_APP_TITLE "ClassiCube 1.1.2 alpha" #else -#define GAME_APP_NAME "ClassiCube 1.1.1" -#define GAME_APP_TITLE "ClassiCube 1.1.1" +#define GAME_APP_NAME "ClassiCube 1.1.2" +#define GAME_APP_TITLE "ClassiCube 1.1.2" #endif /* Max number of characters strings can have. */ diff --git a/src/Window.c b/src/Window.c index cdb71da65..3631f7ef6 100644 --- a/src/Window.c +++ b/src/Window.c @@ -2511,8 +2511,8 @@ static const char* Window_BeforeUnload(int type, const void* ev, void *data) { static int Window_MapKey(int k) { if (k >= '0' && k <= '9') return k; if (k >= 'A' && k <= 'Z') return k; - if (k >= DOM_VK_F1 && k <= DOM_VK_F24) { return KEY_F1 + (k - DOM_VK_F1); } - if (k >= DOM_VK_NUMPAD0 && k <= DOM_VK_NUMPAD9) { return KEY_KP0 + (k - DOM_VK_NUMPAD0); } + if (k >= DOM_VK_F1 && k <= DOM_VK_F24) { return KEY_F1 + (k - DOM_VK_F1); } + if (k >= DOM_VK_NUMPAD0 && k <= DOM_VK_NUMPAD9) { return KEY_KP0 + (k - DOM_VK_NUMPAD0); } switch (k) { case DOM_VK_BACK_SPACE: return KEY_BACKSPACE;