diff options
author | William Wilgus <wilgus.william@gmail.com> | 2023-10-09 20:23:03 -0400 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2023-10-09 20:23:03 -0400 |
commit | eb13628bb86084bdf822e109c1301277d88d23d7 (patch) | |
tree | c6a292128dcf7474af751ec3295e278351d53f27 | |
parent | ff0055ba6be993731de8d2082da737d2b246de3d (diff) | |
download | rockbox-eb13628bb8.tar.gz rockbox-eb13628bb8.zip |
[BUGFIX] yesno.c use TIME_AFTER macro
Change-Id: I52561dd70e182b3540638d6a7c05474e14fa7a2e
-rw-r--r-- | apps/gui/yesno.c | 2 |
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; |