Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-07-29 01:12:06 +0000
committerStijn Buys <ingar@osirion.org>2008-07-29 01:12:06 +0000
commit62e570842a4247aed635efba1768662913f55f6d (patch)
treea9c1ce776db838820a1f333257a02af200546cb9 /src/auxiliary
parentb3e7862290bb78b1555765131687b6d20fb11fde (diff)
color code ^8 and ^9 do not exist
Diffstat (limited to 'src/auxiliary')
-rw-r--r--src/auxiliary/functions.h2
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')); }