diff --git a/globals.c b/globals.c index ee81dfe..e9d2f4a 100644 --- a/globals.c +++ b/globals.c @@ -15,12 +15,6 @@ int revexist = FALSE; /* does reverse video exist? */ int flickcode = FALSE; /* do flicker supression? */ int gmode = 0; /* global editor mode */ int gflags = GFREAD; /* global control flag */ -#if PKCODE & IBMPC -int gfcolor = 8; /* global forgrnd color (white) */ -#else -int gfcolor = 7; /* global forgrnd color (white) */ -#endif -int gbcolor = 0; /* global backgrnd color (black) */ int gasave = 256; /* global ASAVE size */ int gacount = 256; /* count until next ASAVE */ int sgarbf = TRUE; /* TRUE if screen is garbage */ diff --git a/random.c b/random.c index be90bd0..6f74d9b 100644 --- a/random.c +++ b/random.c @@ -35,6 +35,8 @@ static const char *cname[] = { /* names of colors */ #define NCOLORS (sizeof cname / sizeof( *cname)) /* # of supported colors */ +int gfcolor = NCOLORS - 1 ; /* global forgrnd color (white) */ +int gbcolor = 0 ; /* global backgrnd color (black) */ int tabsize; /* Tab size (0: use real tabs) */