diff options
author | Stijn Buys <ingar@osirion.org> | 2008-07-29 01:12:06 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-07-29 01:12:06 +0000 |
commit | 62e570842a4247aed635efba1768662913f55f6d (patch) | |
tree | a9c1ce776db838820a1f333257a02af200546cb9 /src/auxiliary | |
parent | b3e7862290bb78b1555765131687b6d20fb11fde (diff) |
color code ^8 and ^9 do not exist
Diffstat (limited to 'src/auxiliary')
-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')); } |