mirror of
https://github.com/FDOS/kernel.git
synced 2025-07-21 12:54:30 +02:00
Removed unused config variables and don't detect 'y' and 'n' if we're using
toupper anyway. git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1449 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
132b1fe579
commit
a93b71a18b
@ -143,10 +143,6 @@ struct config Config = {
|
||||
0,
|
||||
STACKSIZE
|
||||
/* COUNTRY= is initialized within DoConfig() */
|
||||
, 0 /* country ID */
|
||||
, 0 /* codepage */
|
||||
, 0 /* amount required memory */
|
||||
, 0 /* pointer to loaded data */
|
||||
, 0 /* strategy for command.com is low by default */
|
||||
, 0 /* default value for switches=/E:nnnn */
|
||||
};
|
||||
@ -829,7 +825,6 @@ STATIC BOOL SkipLine(char *pLine)
|
||||
switch (toupper(key & 0x00ff))
|
||||
{
|
||||
case 'N':
|
||||
case 'n':
|
||||
printf("N\n");
|
||||
return TRUE;
|
||||
|
||||
@ -842,7 +837,6 @@ STATIC BOOL SkipLine(char *pLine)
|
||||
case '\r':
|
||||
case '\n':
|
||||
case 'Y':
|
||||
case 'y':
|
||||
printf("Y\n");
|
||||
return FALSE;
|
||||
|
||||
|
@ -41,14 +41,6 @@ struct config { /* Configuration variables */
|
||||
BYTE cfgStacks; /* number of stacks */
|
||||
BYTE cfgStacksHigh;
|
||||
UWORD cfgStackSize; /* stacks size for each stack */
|
||||
/* COUNTRY=
|
||||
* In Pass #1 these information is collected and in PostConfig()
|
||||
* the NLS package is loaded into memory. -- 2000/06/11 ska
|
||||
*/
|
||||
WORD cfgCSYS_cntry; /* country ID to be loaded */
|
||||
UWORD cfgCSYS_cp; /* requested codepage; NLS_DEFAULT if default */
|
||||
WORD cfgCSYS_memory; /* # of bytes required for the NLS pkg; 0 if none */
|
||||
VOID FAR *cfgCSYS_data; /* where the loaded data is for PostConfig() */
|
||||
UBYTE cfgP_0_startmode; /* load command.com high or not */
|
||||
unsigned ebda2move; /* value for switches=/E:nnnn */
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user