mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-30 01:49:10 +00:00
(svn r11119) -Codechange: analyze .tar files upon loading, remembering their files and offsets, which speeds up .tar handling with a big factor
-Fix: several win32 .tar support problems -Fix: better checking of .tar versions and other minor things -Codechange: don't call fclose() but FioFClose to close a file
This commit is contained in:
@@ -130,7 +130,7 @@ static bool FileMD5(const MD5File file, bool warn)
|
||||
}
|
||||
|
||||
if (ferror(f) && warn) ShowInfoF("Error Reading from %s \n", file.filename);
|
||||
fclose(f);
|
||||
FioFCloseFile(f);
|
||||
|
||||
md5_finish(&filemd5state, digest);
|
||||
return CheckMD5Digest(file, digest, warn);
|
||||
|
Reference in New Issue
Block a user