summaryrefslogtreecommitdiff
path: root/src/gui/sdlinput.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2020-05-07 12:22:37 +0300
committerAndrei Karas <akaras@inbox.ru>2020-05-07 12:41:56 +0300
commit4bb9a1021066ef96e7b424fe7a3949cbbcfa195c (patch)
tree547859c6d825513aa984d57fc8617fb4943f60be /src/gui/sdlinput.cpp
parent75b5c657a149010e075f172cc9262432399ba54c (diff)
downloadmanaverse-4bb9a1021066ef96e7b424fe7a3949cbbcfa195c.tar.gz
manaverse-4bb9a1021066ef96e7b424fe7a3949cbbcfa195c.tar.bz2
manaverse-4bb9a1021066ef96e7b424fe7a3949cbbcfa195c.tar.xz
manaverse-4bb9a1021066ef96e7b424fe7a3949cbbcfa195c.zip
Fix code style after merged switch port code
Diffstat (limited to 'src/gui/sdlinput.cpp')
-rw-r--r--src/gui/sdlinput.cpp4
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;