summaryrefslogtreecommitdiff
path: root/src/progs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-09 01:11:16 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-09 01:11:16 +0300
commit2982a0a5336d6444db3e7b4e054a2104ee76b3a5 (patch)
tree6ec1d474f90717da80b9ed602cf48aacd57bb7e3 /src/progs
parentaf5cdf2f017a012bfc2ea4a5157607f12ce76ce9 (diff)
downloadplus-2982a0a5336d6444db3e7b4e054a2104ee76b3a5.tar.gz
plus-2982a0a5336d6444db3e7b4e054a2104ee76b3a5.tar.bz2
plus-2982a0a5336d6444db3e7b4e054a2104ee76b3a5.tar.xz
plus-2982a0a5336d6444db3e7b4e054a2104ee76b3a5.zip
Replace SDL_IsTextInputActive to lower level SDL function call.
Diffstat (limited to 'src/progs')
-rw-r--r--src/progs/manaplus/actions/actions.cpp2
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();