projects
/
m17n
/
m17n-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
220ed76
)
(mconv_reset_converter): Set internal->used to 0.
author
handa
<handa>
Fri, 11 May 2007 07:07:57 +0000
(07:07 +0000)
committer
handa
<handa>
Fri, 11 May 2007 07:07:57 +0000
(07:07 +0000)
src/coding.c
patch
|
blob
|
history
diff --git
a/src/coding.c
b/src/coding.c
index
d5c8232
..
4fc5e65
100644
(file)
--- 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);