From: handa Date: Fri, 11 May 2007 07:07:57 +0000 (+0000) Subject: (mconv_reset_converter): Set internal->used to 0. X-Git-Tag: FLT-base~70 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f03a9f5200bacdbb64c44ca3d1bf6bb9b6f9f1c7;p=m17n%2Fm17n-lib.git (mconv_reset_converter): Set internal->used to 0. --- 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);