Fix typos

This commit is contained in:
Ivan Epifanov 2021-09-11 20:08:03 +03:00 committed by Ozkan Sezer
parent e455659467
commit b2504b5da6
2 changed files with 4 additions and 3 deletions

View File

@ -489,7 +489,7 @@ void VITA_ShowScreenKeyboard(_THIS, SDL_Window *window)
return;
}
#elif
#else
SceWChar16 *title = u"";
SceWChar16 *text = u"";
@ -544,7 +544,7 @@ SDL_bool VITA_IsScreenKeyboardShown(_THIS, SDL_Window *window)
#if defined(SDL_VIDEO_VITA_PVR)
SDL_VideoData *videodata = (SDL_VideoData *)_this->driverdata;
return videodata->ime_active;
#elif
#else
SceCommonDialogStatus dialogStatus = sceImeDialogGetStatus();
return (dialogStatus == SCE_COMMON_DIALOG_STATUS_RUNNING);
#endif

View File

@ -53,9 +53,10 @@ typedef struct SDL_WindowData
SDL_bool uses_gles;
SceUID buffer_uid;
void* buffer;
#if defined(SDL_VIDEO_VITA_PVR)
EGLSurface egl_surface;
EGLContext egl_context;
#endif
} SDL_WindowData;
extern SDL_Window * Vita_Window;