diff options
Diffstat (limited to 'games/grdc/grdc.c')
-rw-r--r-- | games/grdc/grdc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/games/grdc/grdc.c b/games/grdc/grdc.c index 55e579f..ebb3293 100644 --- a/games/grdc/grdc.c +++ b/games/grdc/grdc.c @@ -62,17 +62,17 @@ int n = 0; cbreak(); noecho(); - + hascolor = has_colors(); - if(hascolor) { + if(hascolor) { start_color(); init_pair(1, COLOR_BLACK, COLOR_RED); init_pair(2, COLOR_RED, COLOR_BLACK); init_pair(3, COLOR_WHITE, COLOR_BLACK); attrset(COLOR_PAIR(2)); } - + clear(); refresh(); while(--argc > 0) { @@ -82,7 +82,7 @@ int n = 0; n = atoi(*argv); } - if(hascolor) { + if(hascolor) { attrset(COLOR_PAIR(3)); mvaddch(YBASE - 2, XBASE - 3, ACS_ULCORNER); @@ -183,8 +183,8 @@ standt(int on) if(hascolor) { attron(COLOR_PAIR(1)); } else { - attron(A_STANDOUT); - } + attron(A_STANDOUT); + } } else { if(hascolor) { attron(COLOR_PAIR(2)); |