forked from len0rd/rockbox
[BUGFIX] yesno.c use TIME_AFTER macro
Change-Id: I52561dd70e182b3540638d6a7c05474e14fa7a2e
This commit is contained in:
parent
ff0055ba6b
commit
eb13628bb8
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue