summaryrefslogtreecommitdiff
path: root/apps/gui/yesno.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/yesno.c')
-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
305 result=YESNO_YES; 305 result=YESNO_YES;
306 break; 306 break;
307 case ACTION_NONE: 307 case ACTION_NONE:
308 if(tmo_default_res != YESNO_TMO && end_tick <= current_tick) 308 if(tmo_default_res != YESNO_TMO && TIME_AFTER(current_tick, end_tick))
309 { 309 {
310 splash(HZ/2, ID2P(LANG_TIMEOUT)); 310 splash(HZ/2, ID2P(LANG_TIMEOUT));
311 result = tmo_default_res; 311 result = tmo_default_res;