From f03a9f5200bacdbb64c44ca3d1bf6bb9b6f9f1c7 Mon Sep 17 00:00:00 2001 From: handa Date: Fri, 11 May 2007 07:07:57 +0000 Subject: [PATCH] (mconv_reset_converter): Set internal->used to 0. --- src/coding.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/coding.c b/src/coding.c index d5c8232..4fc5e65 100644 --- a/src/coding.c +++ b/src/coding.c @@ -4238,6 +4238,7 @@ mconv_reset_converter (MConverter *converter) converter->nchars = converter->nbytes = 0; converter->result = MCONVERSION_RESULT_SUCCESS; internal->carryover_bytes = 0; + internal->used = 0; mtext_reset (internal->unread); if (internal->coding->resetter) return (*internal->coding->resetter) (converter); -- 1.7.10.4