diff options
Diffstat (limited to 'iconvdata/iso6937.c')
-rw-r--r-- | iconvdata/iso6937.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/iconvdata/iso6937.c b/iconvdata/iso6937.c index 30c3831a29..21e3ab4898 100644 --- a/iconvdata/iso6937.c +++ b/iconvdata/iso6937.c @@ -492,6 +492,7 @@ gconv (struct gconv_step *step, struct gconv_step_data *data, ++cnt; } *inbufsize -= cnt; + inbuf += cnt; data->outbufavail = outwchars; } else @@ -593,6 +594,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) |