summaryrefslogtreecommitdiffstats
path: root/Modules/cjkcodecs/_codecs_iso2022.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/cjkcodecs/_codecs_iso2022.c')
-rw-r--r--Modules/cjkcodecs/_codecs_iso2022.c2
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;
}