From: svenhoefer Date: Tue, 20 Sep 2016 16:49:28 +0000 (+0200) Subject: - shellexec: re-enable MENUTIMEOUT setting; ... X-Git-Url: https://git.webhop.me/?a=commitdiff_plain;h=6a5f77d303e4a004cb9441cccb9d0784e9ed59c7;p=shellexec.git - shellexec: re-enable MENUTIMEOUT setting; ... read default timeout from neutrino.conf; MENUTIMEOUT setting overrides this. --- 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)