summaryrefslogtreecommitdiffstats
path: root/games/grdc/grdc.c
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-05-30 03:37:36 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-05-30 03:37:36 +0000
commit30ef9631c5eac7f8254bd3d7ad274d34d9f518b8 (patch)
tree4d8ac7e75ac179a918a76def244de6e3f3314e76 /games/grdc/grdc.c
parent188803394908f222ab3ed8ec32331eb6dd00fd2d (diff)
downloadFreeBSD-src-30ef9631c5eac7f8254bd3d7ad274d34d9f518b8.zip
FreeBSD-src-30ef9631c5eac7f8254bd3d7ad274d34d9f518b8.tar.gz
Remove trailing whitespace.
Diffstat (limited to 'games/grdc/grdc.c')
-rw-r--r--games/grdc/grdc.c12
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));
OpenPOWER on IntegriCloud