From 4bb9a1021066ef96e7b424fe7a3949cbbcfa195c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 7 May 2020 12:22:37 +0300 Subject: Fix code style after merged switch port code --- src/gui/sdlinput.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/sdlinput.cpp') 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; -- cgit v1.2.3-70-g09d2