Skip to content
Permalink
Browse files

linux: Fixed using wrong constant for input text size.

  • Loading branch information
philippwiesemann committed Jun 15, 2017
1 parent 60c0f7e commit a725efa4bc90c7b5d098db81c37fe979a9756a4b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/linux/SDL_ibus.c
@@ -120,7 +120,7 @@ IBus_MessageHandler(DBusConnection *conn, DBusMessage *msg, void *user_data)

text = IBus_GetVariantText(conn, &iter, dbus);
if (text && *text) {
char buf[SDL_TEXTEDITINGEVENT_TEXT_SIZE];
char buf[SDL_TEXTINPUTEVENT_TEXT_SIZE];
size_t text_bytes = SDL_strlen(text), i = 0;

while (i < text_bytes) {

0 comments on commit a725efa

Please sign in to comment.