Fixed decoding \9 with t:escapeSeqDecode. See #423.

This commit is contained in:
brectanus
2007-12-14 00:30:25 +00:00
parent 8aa31fd099
commit aa68fff104
3 changed files with 6 additions and 4 deletions

View File

@@ -1054,7 +1054,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;