commit | f97e60a421804b0a97f58d823368199c68b336ec | [log] [tgz] |
---|---|---|
author | Philipp Wiesemann <philipp.wiesemann@arcor.de> | Thu Jun 15 23:30:50 2017 +0200 |
committer | Philipp Wiesemann <philipp.wiesemann@arcor.de> | Thu Jun 15 23:30:50 2017 +0200 |
tree | dd3a2697132dd5edc825f60c82f1f4de2484dbd9 | |
parent | 8bc79254aae021d39da50f49af2f5be340d8a14d [diff] |
linux: Fixed using wrong constant for input text size.
diff --git a/src/core/linux/SDL_ibus.c b/src/core/linux/SDL_ibus.c index 9a39d51..eb5a5de 100644 --- a/src/core/linux/SDL_ibus.c +++ b/src/core/linux/SDL_ibus.c
@@ -120,7 +120,7 @@ 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) {