projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be67d10
)
fixed using delay counter for Android
author
Holger Schemel
<info@artsoft.org>
Sat, 3 Sep 2022 15:25:56 +0000
(17:25 +0200)
committer
Holger Schemel
<info@artsoft.org>
Sat, 3 Sep 2022 15:25:56 +0000
(17:25 +0200)
src/libgame/system.c
patch
|
blob
|
history
diff --git
a/src/libgame/system.c
b/src/libgame/system.c
index 83bbe67a6c04aab4f81805b3f7fb809619eded40..5916fdcc63176373ffb2809e43cdb216d8853311 100644
(file)
--- 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