mirror of
https://github.com/citra-emu/citra-nightly.git
synced 2025-10-04 04:07:06 +00:00
braces on barely-multiline if
This commit is contained in:
parent
d3f518dc47
commit
4ffaf8c399
|
@ -214,9 +214,10 @@ void EmuWindow_SDL2::PollEvents() {
|
|||
case SDL_MOUSEBUTTONDOWN:
|
||||
case SDL_MOUSEBUTTONUP:
|
||||
// ignore if it came from touch
|
||||
if (event.button.which != SDL_TOUCH_MOUSEID)
|
||||
if (event.button.which != SDL_TOUCH_MOUSEID) {
|
||||
OnMouseButton(event.button.button, event.button.state, event.button.x,
|
||||
event.button.y);
|
||||
}
|
||||
break;
|
||||
case SDL_FINGERDOWN:
|
||||
OnFingerDown(event.tfinger.fingerId, event.tfinger.x, event.tfinger.y);
|
||||
|
|
Loading…
Reference in a new issue