From: Holger Schemel Date: Sat, 3 Sep 2022 15:25:56 +0000 (+0200) Subject: fixed using delay counter for Android X-Git-Tag: 4.3.3.0~64 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=39f50ee719c2ce2831fba12c53f358ece98563b9;p=rocksndiamonds.git fixed using delay counter for Android --- diff --git a/src/libgame/system.c b/src/libgame/system.c index 83bbe67a..5916fdcc 100644 --- a/src/libgame/system.c +++ b/src/libgame/system.c @@ -1812,7 +1812,7 @@ void StartTextInput(int x, int y, int width, int height) if (y + height > SCREEN_KEYBOARD_POS(video.height)) { video.shifted_up_pos = y + height - SCREEN_KEYBOARD_POS(video.height); - video.shifted_up_delay = SDL_GetTicks(); + video.shifted_up_delay.count = SDL_GetTicks(); video.shifted_up = TRUE; } #endif @@ -1828,7 +1828,7 @@ void StopTextInput(void) if (video.shifted_up) { video.shifted_up_pos = 0; - video.shifted_up_delay = SDL_GetTicks(); + video.shifted_up_delay.count = SDL_GetTicks(); video.shifted_up = FALSE; } #endif