From df2ada42d57389d0e420a72606569d54afa19f3b Mon Sep 17 00:00:00 2001 From: ashmew2 Date: Sun, 24 Sep 2017 17:59:54 +0000 Subject: [PATCH] Update outbuf pointer when converting git-svn-id: svn://kolibrios.org@7007 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/libraries/iconv/iconv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/programs/develop/libraries/iconv/iconv.c b/programs/develop/libraries/iconv/iconv.c index ea10f7bcec..17db80defe 100644 --- a/programs/develop/libraries/iconv/iconv.c +++ b/programs/develop/libraries/iconv/iconv.c @@ -128,6 +128,7 @@ size_t iconv(iconv_t cd, const char **inbuf, size_t *inbytesleft, ++oc; (*inbytesleft)--; (*outbytesleft)--; + (*outbuf)++; } return 0;