diff options
author | lubomyr | 2017-02-19 00:27:20 +0200 |
---|---|---|
committer | lubomyr | 2017-02-19 00:27:20 +0200 |
commit | cdda943c8a3089551843be3dedaaddb6c5348555 (patch) | |
tree | dcd636b846dfa039d7fe84986b999aa0b572b3e9 | |
parent | 3f921c1195e1a998d7dc0c423bf7eb4c9549c78f (diff) | |
download | scummvm-rg350-cdda943c8a3089551843be3dedaaddb6c5348555.tar.gz scummvm-rg350-cdda943c8a3089551843be3dedaaddb6c5348555.tar.bz2 scummvm-rg350-cdda943c8a3089551843be3dedaaddb6c5348555.zip |
ANDROIDSDL: code refactoring
-rw-r--r-- | backends/platform/androidsdl/androidsdl-sdl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/androidsdl/androidsdl-sdl.cpp b/backends/platform/androidsdl/androidsdl-sdl.cpp index f33f9b7bbc..920dad2234 100644 --- a/backends/platform/androidsdl/androidsdl-sdl.cpp +++ b/backends/platform/androidsdl/androidsdl-sdl.cpp @@ -57,7 +57,7 @@ void OSystem_ANDROIDSDL::initBackend() { touchpadMode(ConfMan.getBool("touchpad_mouse_mode")); if (!ConfMan.hasKey("onscreen_control")) { - const bool enable = (SDL_ANDROID_GetScreenKeyboardShown() == 0) ? false : true; + const bool enable = SDL_ANDROID_GetScreenKeyboardShown(); ConfMan.setBool("onscreen_control", enable); } else showOnScreenControl(ConfMan.getBool("onscreen_control")); |