From 6a5f77d303e4a004cb9441cccb9d0784e9ed59c7 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Tue, 20 Sep 2016 18:49:28 +0200 Subject: [PATCH] - shellexec: re-enable MENUTIMEOUT setting; ... read default timeout from neutrino.conf; MENUTIMEOUT setting overrides this. --- shellexec.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/shellexec.c b/shellexec.c index 261903d..8630677 100644 --- a/shellexec.c +++ b/shellexec.c @@ -469,12 +469,10 @@ int Check_Config(void) { sscanf(strchr(line_buffer,'=')+1,"%d",&FSIZE_MED); } -#if 0 if(strstr(line_buffer,"MENUTIMEOUT=")==line_buffer) { sscanf(strchr(line_buffer,'=')+1,"%d",&mtmo); } -#endif if(strstr(line_buffer,"PAGING=")==line_buffer) { sscanf(strchr(line_buffer,'=')+1,"%d",&paging); @@ -854,12 +852,8 @@ int Get_Selection(MENU *m) case -1: knew=0; -#if 0 - if(mtmo == 0) - break; -#endif time(&tm2); - if((tm2-tm1)