Bug #1448490: Fix a bug that ISO-2022 codecs could not handle

SS2 (single-shift 2) escape sequences correctly.
This commit is contained in:
Hye-Shik Chang 2006-03-13 10:20:08 +00:00
parent 6058aa40d2
commit abb903fd54
3 changed files with 11 additions and 1 deletions

View file

@ -414,7 +414,7 @@ iso2022processg2(const void *config, MultibyteCodec_State *state,
(*inbuf) += 3;
*inleft -= 3;
(*outbuf) += 1;
*outbuf -= 1;
*outleft -= 1;
return 0;
}