src/main/haiku/SDL_BApp.h
changeset 12968 0e3948762c96
parent 12503 806492103856
child 13231 7685ed78cd5c
     1.1 --- a/src/main/haiku/SDL_BApp.h	Wed Jul 31 01:22:02 2019 +0300
     1.2 +++ b/src/main/haiku/SDL_BApp.h	Wed Jul 31 05:11:40 2019 +0300
     1.3 @@ -285,7 +285,7 @@
     1.4              ssize_t count;
     1.5              if (msg->FindData("key-utf8", B_INT8_TYPE, (const void**)&keyUtf8, &count) == B_OK) {
     1.6                  char text[SDL_TEXTINPUTEVENT_TEXT_SIZE];
     1.7 -                SDL_zero(text);
     1.8 +                SDL_zeroa(text);
     1.9                  SDL_memcpy(text, keyUtf8, count);
    1.10                  SDL_SendKeyboardText(text);
    1.11              }