nacl: Fixed unnecessary large input text array.

This commit is contained in:
Philipp Wiesemann 2017-06-16 23:30:13 +02:00
parent 9085c7b311
commit a4db3dbe64

View File

@ -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();