summaryrefslogtreecommitdiff
path: root/src/progs/manaplus/actions
diff options
context:
space:
mode:
authorcpasjuste <cpasjuste@gmail.com>2020-04-22 23:36:38 +0200
committercpasjuste <cpasjuste@gmail.com>2020-04-22 23:36:38 +0200
commit94162704b6ffe557b65d70faa4b82e082039f75e (patch)
treec960b6a357473541f38cefa8fd1b3d610aa569f1 /src/progs/manaplus/actions
parenteeb40fb079971ece6288e5210e42a9cc3fc95790 (diff)
downloadmanaverse-94162704b6ffe557b65d70faa4b82e082039f75e.tar.gz
manaverse-94162704b6ffe557b65d70faa4b82e082039f75e.tar.bz2
manaverse-94162704b6ffe557b65d70faa4b82e082039f75e.tar.xz
manaverse-94162704b6ffe557b65d70faa4b82e082039f75e.zip
switch: enable sdl2 keyboard
Diffstat (limited to 'src/progs/manaplus/actions')
-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 4606137f3..3a48e5a33 100644
--- a/src/progs/manaplus/actions/actions.cpp
+++ b/src/progs/manaplus/actions/actions.cpp
@@ -995,7 +995,7 @@ impHandler0(stopSit)
impHandler0(showKeyboard)
{
-#ifdef ANDROID
+#if defined(ANDROID) || defined(__SWITCH__)
#ifdef USE_SDL2
if (SDL_GetEventState(SDL_TEXTINPUT) == SDL_ENABLE)
SDL_StopTextInput();