diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/auxiliary/functions.h | 2 |
1 files changed, 1 insertions, 1 deletions
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')); } |