mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-03-20 09:41:13 +00:00
correctly reset iconvDesc
This commit is contained in:
parent
0b00c78dc0
commit
5897ad09f0
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue