apps/graphics/pdcurses: Need to set the global COLORS or else all displays on monochrome.
This commit is contained in:
parent
b346d1d6eb
commit
678af717c8
@ -135,7 +135,11 @@ int PDC_scr_open(int argc, char **argv)
|
||||
SP = &fbscreen->screen;
|
||||
fbstate = &fbscreen->fbstate;
|
||||
|
||||
/* Setup initial colors */
|
||||
/* Number of RGB colors (dimension of rgbcolor[]) */
|
||||
|
||||
COLORS = 16;
|
||||
|
||||
/* Setup initial RGB colors */
|
||||
|
||||
for (i = 0; i < 8; i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user