[PYRA] Fix some typos

This commit is contained in:
ptitSeb 2020-07-11 10:26:01 +02:00
parent d1081324a2
commit 0961898210
2 changed files with 2 additions and 2 deletions

View File

@ -260,7 +260,7 @@ endif()
option(PYRA "Compile for Pyra" FALSE) option(PYRA "Compile for Pyra" FALSE)
if (PYRA) if (PYRA)
add_definitions(-DPLATFORM_PYRAA=1) add_definitions(-DPLATFORM_PYRA=1)
endif() endif()
option(USE_TREMOR "Use Tremor instead of Vorbis" FALSE) option(USE_TREMOR "Use Tremor instead of Vorbis" FALSE)

View File

@ -50,7 +50,7 @@ BOOL PeekMessage(MSG *msg, void *hwnd, UINT wMsgFilterMin,
case SDL_KEYUP: case SDL_KEYUP:
if (sdlevent.key.keysym.sym == SDLK_BACKQUOTE) if (sdlevent.key.keysym.sym == SDLK_BACKQUOTE)
msg->unicode = '~'; // !!! FIXME: this is all a hack. 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) { if(sdlevent.key.keysym.sym == SDLK_RCTRL) {
msg->message = (sdlevent.type==SDL_KEYDOWN)?WM_RBUTTONDOWN:WM_RBUTTONUP; msg->message = (sdlevent.type==SDL_KEYDOWN)?WM_RBUTTONDOWN:WM_RBUTTONUP;
} else if(sdlevent.key.keysym.sym == SDLK_RSHIFT) { } else if(sdlevent.key.keysym.sym == SDLK_RSHIFT) {