Browse Source

nacl: Fixed unnecessary large input text array.

Philipp Wiesemann 7 years ago
parent
commit
a4db3dbe64
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/video/nacl/SDL_naclevents.c

+ 1 - 1
src/video/nacl/SDL_naclevents.c

@@ -329,7 +329,7 @@ void NACL_PumpEvents(_THIS) {
   struct PP_Point location;
   struct PP_Var var;
   const char *str;
-  char text[64];
+  char text[SDL_TEXTINPUTEVENT_TEXT_SIZE];
   Uint32 str_len;
   SDL_VideoData *driverdata = (SDL_VideoData *) _this->driverdata;
   SDL_Mouse *mouse = SDL_GetMouse();