summaryrefslogtreecommitdiffstats
path: root/tetris/screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'tetris/screen.c')
-rw-r--r--tetris/screen.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tetris/screen.c b/tetris/screen.c
index 50a019d3..4d7911c6 100644
--- a/tetris/screen.c
+++ b/tetris/screen.c
@@ -1,4 +1,4 @@
-/* $NetBSD: screen.c,v 1.28 2014/06/11 16:47:39 christos Exp $ */
+/* $NetBSD: screen.c,v 1.29 2014/07/13 16:23:55 pgoyette Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -98,6 +98,8 @@ static void
setcolor(int c)
{
char *buf;
+ if (nocolor == 1)
+ return;
if (set_a_foreground == NULL)
return;