Browse Source

Increase colour pair limit

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
4b33c03942
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/include/curses.h

+ 1
- 1
src/include/curses.h View File

137
 #define COLOR_PAIR(n)	COLOUR_PAIR(n)
137
 #define COLOR_PAIR(n)	COLOUR_PAIR(n)
138
 #define PAIR_NUMBER(attrs) ( ( (attrs) & A_COLOUR ) >> CPAIR_SHIFT )
138
 #define PAIR_NUMBER(attrs) ( ( (attrs) & A_COLOUR ) >> CPAIR_SHIFT )
139
 
139
 
140
-#define COLOUR_PAIRS	4 /* Arbitrary limit */
140
+#define COLOUR_PAIRS	8 /* Arbitrary limit */
141
 #define COLOR_PAIRS	COLOUR_PAIRS
141
 #define COLOR_PAIRS	COLOUR_PAIRS
142
 
142
 
143
 #define ACS_ULCORNER	'+'
143
 #define ACS_ULCORNER	'+'

Loading…
Cancel
Save