From ff52ba1d4524a33a19e3be185593c8b0e309b6d1 Mon Sep 17 00:00:00 2001 From: DiSlord Date: Mon, 25 May 2020 13:36:23 +0300 Subject: [PATCH] Code style --- ui.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui.c b/ui.c index 9d8ec1f..7e3336d 100644 --- a/ui.c +++ b/ui.c @@ -2177,7 +2177,8 @@ void ui_process_touch(void) int touch_x, touch_y; int status = touch_check(); if (status == EVT_TOUCH_PRESSED || status == EVT_TOUCH_DOWN) { - touch_position(&touch_x, &touch_y); switch (ui_mode) { + touch_position(&touch_x, &touch_y); + switch (ui_mode) { case UI_NORMAL: // Try drag marker if (touch_pickup_marker(touch_x, touch_y))