From 62e570842a4247aed635efba1768662913f55f6d Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Tue, 29 Jul 2008 01:12:06 +0000 Subject: color code ^8 and ^9 do not exist --- src/auxiliary/functions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/auxiliary') diff --git a/src/auxiliary/functions.h b/src/auxiliary/functions.h index 65b6a2b..fccb4dc 100644 --- a/src/auxiliary/functions.h +++ b/src/auxiliary/functions.h @@ -25,7 +25,7 @@ const std::string article(const char * word); inline const std::string article(const std::string & word) { return article(word.c_str()); } -inline bool is_base_color_code(char const *c) { return ((*c == '^') && (*(c+1) >= '0') && (*(c+1) <= '9')); } +inline bool is_base_color_code(char const *c) { return ((*c == '^') && (*(c+1) >= '0') && (*(c+1) <= '7')); } inline bool is_core_color_code(char const *c) { return ((*c == '^') && (*(c+1) >= 'A') && (*(c+1) <= 'Z')); } -- cgit v1.2.3