(svn r7172) -Fix [r6931]: The console showed '?' characters instead of colours. Now strip all

colours for the console. It's a bit magicky (magic numbers) but UTF8 fixes that soon.
This commit is contained in:
Darkvater
2006-11-16 17:41:24 +00:00
parent 55506a902a
commit 22bfbc8a7a
3 changed files with 17 additions and 0 deletions

View File

@@ -29,6 +29,9 @@ char* CDECL str_fmt(const char* str, ...);
* replaces them with a question mark '?' */
void str_validate(char *str);
/** Scans the string for colour codes and strips them */
void str_strip_colours(char *str);
/**
* Valid filter types for IsValidAsciiChar.
*/