From 30a313d0daed3b330373a5505326efde0541eec2 Mon Sep 17 00:00:00 2001 From: William McBrine Date: Wed, 11 Oct 2006 06:21:21 +0000 Subject: [PATCH] Removed useless constant PDC_COLORS... besides, this is about to become a variable. --- curspriv.h | 4 +--- pdcurses/color.c | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/curspriv.h b/curspriv.h index eda22dd7..613a8f1a 100644 --- a/curspriv.h +++ b/curspriv.h @@ -15,7 +15,7 @@ * See the file maintain.er for details of the current maintainer. * ************************************************************************/ -/* $Id: curspriv.h,v 1.124 2006/10/09 04:51:40 wmcbrine Exp $ */ +/* $Id: curspriv.h,v 1.125 2006/10/11 06:21:20 wmcbrine Exp $ */ /* CURSPRIV.H @@ -96,8 +96,6 @@ void PDC_debug(const char *, ...); # define RCSID(x) #endif -#define PDC_COLORS 8 - /* Internal macros for attributes */ #ifdef CHTYPE_LONG # define PDC_COLOR_PAIRS 64 diff --git a/pdcurses/color.c b/pdcurses/color.c index 10f991b9..04298c36 100644 --- a/pdcurses/color.c +++ b/pdcurses/color.c @@ -19,7 +19,7 @@ #include #include -RCSID("$Id: color.c,v 1.63 2006/10/08 20:54:30 wmcbrine Exp $"); +RCSID("$Id: color.c,v 1.64 2006/10/11 06:21:21 wmcbrine Exp $"); /*man-start************************************************************** @@ -92,7 +92,7 @@ RCSID("$Id: color.c,v 1.63 2006/10/08 20:54:30 wmcbrine Exp $"); **man-end****************************************************************/ -int COLORS = PDC_COLORS; +int COLORS = 8; int COLOR_PAIRS = PDC_COLOR_PAIRS; static bool colorstarted = FALSE;