mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-25 09:17:12 +01:00
nacl: Fixed unnecessary large input text array.
This commit is contained in:
parent
9085c7b311
commit
a4db3dbe64
@ -329,7 +329,7 @@ void NACL_PumpEvents(_THIS) {
|
|||||||
struct PP_Point location;
|
struct PP_Point location;
|
||||||
struct PP_Var var;
|
struct PP_Var var;
|
||||||
const char *str;
|
const char *str;
|
||||||
char text[64];
|
char text[SDL_TEXTINPUTEVENT_TEXT_SIZE];
|
||||||
Uint32 str_len;
|
Uint32 str_len;
|
||||||
SDL_VideoData *driverdata = (SDL_VideoData *) _this->driverdata;
|
SDL_VideoData *driverdata = (SDL_VideoData *) _this->driverdata;
|
||||||
SDL_Mouse *mouse = SDL_GetMouse();
|
SDL_Mouse *mouse = SDL_GetMouse();
|
||||||
|
Loading…
Reference in New Issue
Block a user