mirror of
https://github.com/rfivet/uemacs.git
synced 2024-12-20 00:06:45 -05:00
Move global color variable with color names in random.
This commit is contained in:
parent
b07c1c0acd
commit
1d5cbe67a4
@ -15,12 +15,6 @@ int revexist = FALSE; /* does reverse video exist? */
|
|||||||
int flickcode = FALSE; /* do flicker supression? */
|
int flickcode = FALSE; /* do flicker supression? */
|
||||||
int gmode = 0; /* global editor mode */
|
int gmode = 0; /* global editor mode */
|
||||||
int gflags = GFREAD; /* global control flag */
|
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 gasave = 256; /* global ASAVE size */
|
||||||
int gacount = 256; /* count until next ASAVE */
|
int gacount = 256; /* count until next ASAVE */
|
||||||
int sgarbf = TRUE; /* TRUE if screen is garbage */
|
int sgarbf = TRUE; /* TRUE if screen is garbage */
|
||||||
|
2
random.c
2
random.c
@ -35,6 +35,8 @@ static const char *cname[] = { /* names of colors */
|
|||||||
|
|
||||||
#define NCOLORS (sizeof cname / sizeof( *cname)) /* # of supported 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) */
|
int tabsize; /* Tab size (0: use real tabs) */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user