summaryrefslogtreecommitdiffstats
path: root/mbbsd/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/io.c')
-rw-r--r--mbbsd/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/io.c b/mbbsd/io.c
index 26201c7c..414ac3f7 100644
--- a/mbbsd/io.c
+++ b/mbbsd/io.c
@@ -472,7 +472,7 @@ strip_ansi(char *buf, const char *str, int mode)
#define isEscapeCommand(X) (EscapeFlag[(int)(X)] & 2)
for(; *str; ++str)
- if( *str != '\033' ){
+ if( *str != ESC_CHR ){
if( buf )
*buf++ = *str;
++count;