diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-09-09 01:11:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-09-09 01:11:16 +0300 |
commit | 2982a0a5336d6444db3e7b4e054a2104ee76b3a5 (patch) | |
tree | 6ec1d474f90717da80b9ed602cf48aacd57bb7e3 /src/progs | |
parent | af5cdf2f017a012bfc2ea4a5157607f12ce76ce9 (diff) | |
download | manaverse-2982a0a5336d6444db3e7b4e054a2104ee76b3a5.tar.gz manaverse-2982a0a5336d6444db3e7b4e054a2104ee76b3a5.tar.bz2 manaverse-2982a0a5336d6444db3e7b4e054a2104ee76b3a5.tar.xz manaverse-2982a0a5336d6444db3e7b4e054a2104ee76b3a5.zip |
Replace SDL_IsTextInputActive to lower level SDL function call.
Diffstat (limited to 'src/progs')
-rw-r--r-- | src/progs/manaplus/actions/actions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/progs/manaplus/actions/actions.cpp b/src/progs/manaplus/actions/actions.cpp index b958f8f62..458332fb0 100644 --- a/src/progs/manaplus/actions/actions.cpp +++ b/src/progs/manaplus/actions/actions.cpp @@ -970,7 +970,7 @@ impHandler0(showKeyboard) { #ifdef ANDROID #ifdef USE_SDL2 - if (SDL_IsTextInputActive()) + if (SDL_GetEventState(SDL_TEXTINPUT) == SDL_ENABLE) SDL_StopTextInput(); else SDL_StartTextInput(); |