LoadInterfaceStrings: don't call fclose with a NULL FILE pointer

This commit is contained in:
Anonymous Maarten 2025-09-17 20:11:11 +02:00 committed by Dethrace Engineering Department
parent 85b44d0163
commit eff7bec0b0
1 changed files with 3 additions and 3 deletions

View File

@ -2146,11 +2146,11 @@ void LoadInterfaceStrings(void) {
gTrans_fonts[10] = &gFonts[kFont_DRKPLAQ1];
gTrans_fonts[11] = &gFonts[kFont_BUTTOUT1];
gTrans_fonts[12] = &gFonts[kFont_BUTTIN1];
#ifdef DETHRACE_FIX_BUGS
fclose(f);
#endif
}
#ifdef DETHRACE_FIX_BUGS
fclose(f);
#endif
}
// IDA: void __cdecl FlushInterfaceFonts()