Update outbuf pointer when converting

git-svn-id: svn://kolibrios.org@7007 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
ashmew2 2017-09-24 17:59:54 +00:00
parent a70c9b8117
commit df2ada42d5

View File

@ -128,6 +128,7 @@ size_t iconv(iconv_t cd, const char **inbuf, size_t *inbytesleft,
++oc; ++oc;
(*inbytesleft)--; (*inbytesleft)--;
(*outbytesleft)--; (*outbytesleft)--;
(*outbuf)++;
} }
return 0; return 0;