Skip to content

Commit

Permalink
linux: Fixed using wrong constant for input text size.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Jun 15, 2017
1 parent 60c0f7e commit a725efa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/linux/SDL_ibus.c
Expand Up @@ -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) {
Expand Down

0 comments on commit a725efa

Please sign in to comment.