Backport octal ansi escape fix for #423. See $435.

This commit is contained in:
brectanus
2007-12-15 00:50:11 +00:00
parent 7866e76277
commit 021191368f
2 changed files with 2 additions and 2 deletions

View File

@@ -889,7 +889,7 @@ int ansi_c_sequences_decode_inplace(unsigned char *input, int input_len) {
}
}
else
if (isdigit(input[i + 1])) { /* Octal. */
if (ISODIGIT(input[i + 1])) { /* Octal. */
char buf[10];
int j = 0, l = 3;