summaryrefslogtreecommitdiff
path: root/src/gui/sdlinput.cpp
diff options
context:
space:
mode:
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;