diff options
author | Hye-Shik Chang <hyeshik@gmail.com> | 2006-03-13 10:20:08 (GMT) |
---|---|---|
committer | Hye-Shik Chang <hyeshik@gmail.com> | 2006-03-13 10:20:08 (GMT) |
commit | abb903fd54596cba08129a110bc53d9ca21935a9 (patch) | |
tree | d4151791caf16e6377c6b03c6ba9f3b9ac4304b0 /Modules | |
parent | 6058aa40d288d8cdd93dddfe9c660450f598b3ae (diff) | |
download | cpython-abb903fd54596cba08129a110bc53d9ca21935a9.zip cpython-abb903fd54596cba08129a110bc53d9ca21935a9.tar.gz cpython-abb903fd54596cba08129a110bc53d9ca21935a9.tar.bz2 |
Bug #1448490: Fix a bug that ISO-2022 codecs could not handle
SS2 (single-shift 2) escape sequences correctly.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/cjkcodecs/_codecs_iso2022.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/cjkcodecs/_codecs_iso2022.c b/Modules/cjkcodecs/_codecs_iso2022.c index 1e52c34..8a2ab7e 100644 --- a/Modules/cjkcodecs/_codecs_iso2022.c +++ b/Modules/cjkcodecs/_codecs_iso2022.c @@ -414,7 +414,7 @@ iso2022processg2(const void *config, MultibyteCodec_State *state, (*inbuf) += 3; *inleft -= 3; (*outbuf) += 1; - *outbuf -= 1; + *outleft -= 1; return 0; } |