diff options
author | Andrei Karas <akaras@inbox.ru> | 2020-05-07 12:22:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2020-05-07 12:41:56 +0300 |
commit | 4bb9a1021066ef96e7b424fe7a3949cbbcfa195c (patch) | |
tree | 547859c6d825513aa984d57fc8617fb4943f60be /src/gui/sdlinput.cpp | |
parent | 75b5c657a149010e075f172cc9262432399ba54c (diff) | |
download | manaplus-4bb9a1021066ef96e7b424fe7a3949cbbcfa195c.tar.gz manaplus-4bb9a1021066ef96e7b424fe7a3949cbbcfa195c.tar.bz2 manaplus-4bb9a1021066ef96e7b424fe7a3949cbbcfa195c.tar.xz manaplus-4bb9a1021066ef96e7b424fe7a3949cbbcfa195c.zip |
Fix code style after merged switch port code
Diffstat (limited to 'src/gui/sdlinput.cpp')
-rw-r--r-- | src/gui/sdlinput.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/sdlinput.cpp b/src/gui/sdlinput.cpp index c4c7c9741..00c95092e 100644 --- a/src/gui/sdlinput.cpp +++ b/src/gui/sdlinput.cpp @@ -141,11 +141,11 @@ void SDLInput::pushInput(const SDL_Event &event) #ifdef __SWITCH__ // send an enter/select key on keyboard dismiss event bool visible = SDL_GetEventState(SDL_TEXTINPUT) == SDL_ENABLE; - if(visible) + if (visible) { keyboardClosed = false; } - else if(!keyboardClosed) + else if (!keyboardClosed) { simulateKey(KeyValue::ENTER, InputAction::GUI_SELECT2); keyboardClosed = true; |