summaryrefslogtreecommitdiff
path: root/src/progs
diff options
context:
space:
mode:
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 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();