diff options
Diffstat (limited to 'iconvdata/eucjp.c')
-rw-r--r-- | iconvdata/eucjp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/iconvdata/eucjp.c b/iconvdata/eucjp.c index 4e82904..e6a71cc 100644 --- a/iconvdata/eucjp.c +++ b/iconvdata/eucjp.c @@ -180,6 +180,7 @@ gconv (struct gconv_step *step, struct gconv_step_data *data, ++cnt; } *inbufsize -= cnt; + inbuf += cnt; data->outbufavail = outwchars; } else @@ -256,6 +257,7 @@ gconv (struct gconv_step *step, struct gconv_step_data *data, cnt += sizeof (wchar_t); } *inbufsize -= cnt; + inbuf += cnt; data->outbufavail = outchars; if (outchars + extra < data->outbufsize) |