summaryrefslogtreecommitdiffstats
path: root/contrib/ncurses/test/rain.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-07-03 09:24:12 +0000
committerpeter <peter@FreeBSD.org>2000-07-03 09:24:12 +0000
commitcc6a5cc05f3c2cde24338d35c9714f1e7ebf032e (patch)
tree27e79485df3c9195e6fe58960df47f675f41f1e9 /contrib/ncurses/test/rain.c
parentb22d00e9129b5cb2fee8da1592ca70eff2222f7e (diff)
downloadFreeBSD-src-cc6a5cc05f3c2cde24338d35c9714f1e7ebf032e.zip
FreeBSD-src-cc6a5cc05f3c2cde24338d35c9714f1e7ebf032e.tar.gz
Import the most recent ncurses 5.1 prerelease (20000701).
Mostly this is intended to resolve the trace() badness once and for all. Obtained from: ftp://dickey.his.com/ncurses/
Diffstat (limited to 'contrib/ncurses/test/rain.c')
-rw-r--r--contrib/ncurses/test/rain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/ncurses/test/rain.c b/contrib/ncurses/test/rain.c
index 646ab96..262f87d 100644
--- a/contrib/ncurses/test/rain.c
+++ b/contrib/ncurses/test/rain.c
@@ -1,5 +1,5 @@
/*
- * $Id: rain.c,v 1.13 1999/10/23 01:31:26 tom Exp $
+ * $Id: rain.c,v 1.14 1999/11/13 23:39:07 tom Exp $
*/
#include <test.priv.h>
@@ -42,7 +42,7 @@ float c;
if (has_colors()) {
int bg = COLOR_BLACK;
start_color();
-#ifdef NCURSES_VERSION
+#ifdef HAVE_USE_DEFAULT_COLORS
if (use_default_colors() == OK)
bg = -1;
#endif
OpenPOWER on IntegriCloud