correctly reset iconvDesc

This commit is contained in:
HarrievG 2021-07-18 23:34:09 +02:00 committed by Daniel Gibson
parent 0b00c78dc0
commit 5897ad09f0

View file

@ -536,6 +536,7 @@ void Sys_ShutdownInput() {
mouse_polls.Clear();
#if SDL_VERSION_ATLEAST(2, 0, 0)
SDL_iconv_close( iconvDesc ); // used by utf8ToISO8859_1()
iconvDesc = ( SDL_iconv_t ) -1;
#endif
}