From 096189821037707b8abfdd06f3bc4ce4568c2099 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sat, 11 Jul 2020 10:26:01 +0200 Subject: [PATCH] [PYRA] Fix some typos --- Sources/CMakeLists.txt | 2 +- Sources/Engine/Base/SDL/SDLEvents.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/CMakeLists.txt b/Sources/CMakeLists.txt index 5aa08c7..50a60db 100755 --- a/Sources/CMakeLists.txt +++ b/Sources/CMakeLists.txt @@ -260,7 +260,7 @@ endif() option(PYRA "Compile for Pyra" FALSE) if (PYRA) - add_definitions(-DPLATFORM_PYRAA=1) + add_definitions(-DPLATFORM_PYRA=1) endif() option(USE_TREMOR "Use Tremor instead of Vorbis" FALSE) diff --git a/Sources/Engine/Base/SDL/SDLEvents.cpp b/Sources/Engine/Base/SDL/SDLEvents.cpp index 89af170..30a5c66 100755 --- a/Sources/Engine/Base/SDL/SDLEvents.cpp +++ b/Sources/Engine/Base/SDL/SDLEvents.cpp @@ -50,7 +50,7 @@ BOOL PeekMessage(MSG *msg, void *hwnd, UINT wMsgFilterMin, case SDL_KEYUP: if (sdlevent.key.keysym.sym == SDLK_BACKQUOTE) msg->unicode = '~'; // !!! FIXME: this is all a hack. - #if defined(PLATFORM_PANDORA) || defined(PPLATFORM_PTRA) + #if defined(PLATFORM_PANDORA) || defined(PLATFORM_PYRA) if(sdlevent.key.keysym.sym == SDLK_RCTRL) { msg->message = (sdlevent.type==SDL_KEYDOWN)?WM_RBUTTONDOWN:WM_RBUTTONUP; } else if(sdlevent.key.keysym.sym == SDLK_RSHIFT) {