diff options
author | truelight <truelight@openttd.org> | 2007-09-16 18:10:52 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-09-16 18:10:52 +0000 |
commit | 631dc06212b279edf696698cbe425bb8a2980ac0 (patch) | |
tree | e90824fc3128a0ec0f50cddb2f481db5dfd08158 /src/gfxinit.cpp | |
parent | 345a4a28d89760eb42851ffcab63a06b5a114610 (diff) | |
download | openttd-631dc06212b279edf696698cbe425bb8a2980ac0.tar.xz |
(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
Diffstat (limited to 'src/gfxinit.cpp')
-rw-r--r-- | src/gfxinit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gfxinit.cpp b/src/gfxinit.cpp index 86a16c391..dca2a3c3b 100644 --- a/src/gfxinit.cpp +++ b/src/gfxinit.cpp @@ -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); |