projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed using delay counter for Android
[rocksndiamonds.git]
/
src
/
libgame
/
system.c
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);
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
video.shifted_up = TRUE;
}
#endif
@@
-1828,7
+1828,7
@@
void StopTextInput(void)
if (video.shifted_up)
{
video.shifted_up_pos = 0;
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
video.shifted_up = FALSE;
}
#endif