File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -1085,14 +1085,15 @@ STATIC BOOL SkipLine(char *pLine)
10851085{
10861086 short key ;
10871087 COUNT i ;
1088+ signed char originalskipconfigseconds = InitKernelConfig .SkipConfigSeconds ;
10881089
1089- if (InitKernelConfig . SkipConfigSeconds >= 0 )
1090+ if (originalskipconfigseconds >= 0 )
10901091 {
10911092
1092- if (InitKernelConfig . SkipConfigSeconds > 0 )
1093+ if (originalskipconfigseconds > 0 )
10931094 printf ("Press F8 to trace or F5 to skip CONFIG.SYS/AUTOEXEC.BAT" );
10941095
1095- key = GetBiosKey (InitKernelConfig . SkipConfigSeconds ); /* wait 2 seconds */
1096+ key = GetBiosKey (originalskipconfigseconds ); /* wait 2 seconds */
10961097
10971098 InitKernelConfig .SkipConfigSeconds = -1 ;
10981099
@@ -1105,7 +1106,8 @@ STATIC BOOL SkipLine(char *pLine)
11051106 singleStep = TRUE;
11061107 }
11071108
1108- printf ("\r%79s\r" , "" ); /* clear line */
1109+ if (originalskipconfigseconds > 0 )
1110+ printf ("\r%79s\r" , "" ); /* clear line */
11091111
11101112 if (SkipAllConfig )
11111113 printf ("Skipping CONFIG.SYS/AUTOEXEC.BAT\n" );
You can’t perform that action at this time.
0 commit comments