Removed useless constant PDC_COLORS... besides, this is about to become

a variable.
This commit is contained in:
William McBrine
2006-10-11 06:21:21 +00:00
parent 2b86942acb
commit 30a313d0da
2 changed files with 3 additions and 5 deletions

View File

@@ -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

View File

@@ -19,7 +19,7 @@
#include <stdlib.h>
#include <string.h>
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;