summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2023-10-09 20:23:03 -0400
committerWilliam Wilgus <wilgus.william@gmail.com>2023-10-09 20:23:03 -0400
commiteb13628bb86084bdf822e109c1301277d88d23d7 (patch)
treec6a292128dcf7474af751ec3295e278351d53f27
parentff0055ba6be993731de8d2082da737d2b246de3d (diff)
downloadrockbox-eb13628bb8.tar.gz
rockbox-eb13628bb8.zip
[BUGFIX] yesno.c use TIME_AFTER macro
Change-Id: I52561dd70e182b3540638d6a7c05474e14fa7a2e
-rw-r--r--apps/gui/yesno.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/yesno.c b/apps/gui/yesno.c
index 421e158c78..6056d239a6 100644
--- a/apps/gui/yesno.c
+++ b/apps/gui/yesno.c
@@ -305,7 +305,7 @@ enum yesno_res gui_syncyesno_run_w_tmo(int ticks, enum yesno_res tmo_default_res
result=YESNO_YES;
break;
case ACTION_NONE:
- if(tmo_default_res != YESNO_TMO && end_tick <= current_tick)
+ if(tmo_default_res != YESNO_TMO && TIME_AFTER(current_tick, end_tick))
{
splash(HZ/2, ID2P(LANG_TIMEOUT));
result = tmo_default_res;