]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
start custom colorsets at 30
authorMiroslav Lichvar <mlichvar@redhat.com>
Fri, 27 May 2011 08:59:18 +0000 (10:59 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Fri, 27 May 2011 09:00:08 +0000 (11:00 +0200)
slang keeps internally only 512 color pairs (JMAX_COLORS constant).

newt.h

diff --git a/newt.h b/newt.h
index 103b1390db73be1a5a028156bafa30e95d413bdc..65a566b3a1cda96a38106c0b34ab6267adc0fe28 100644 (file)
--- a/newt.h
+++ b/newt.h
@@ -31,7 +31,7 @@ extern "C" {
 #define NEWT_COLORSET_ACTSELLISTBOX    23
 #define NEWT_COLORSET_SELLISTBOX       24
 
-#define NEWT_COLORSET_CUSTOM(x)                (1000 + (x))
+#define NEWT_COLORSET_CUSTOM(x)                (30 + (x))
 
 #define NEWT_ARG_LAST                  -100000
 #define NEWT_ARG_APPEND                        -1