diff --git a/src/stdlib/SDL_iconv.c b/src/stdlib/SDL_iconv.c index 3ab535b49..a42f2639d 100644 --- a/src/stdlib/SDL_iconv.c +++ b/src/stdlib/SDL_iconv.c @@ -837,7 +837,8 @@ char *SDL_iconv_string(const char *tocode, const char *fromcode, const char *inb outbuf = string + (outbuf - oldstring); outbytesleft = stringsize - (outbuf - string); SDL_memset(outbuf, 0, 4); - } break; + continue; + } case SDL_ICONV_EILSEQ: /* Try skipping some input data - not perfect, but... */ ++inbuf;