summaryrefslogtreecommitdiff
path: root/src/gfxinit.cpp
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-09-16 18:10:52 +0000
committertruelight <truelight@openttd.org>2007-09-16 18:10:52 +0000
commit4a621fec6380c29103945fe25261dafd63b904f2 (patch)
treee90824fc3128a0ec0f50cddb2f481db5dfd08158 /src/gfxinit.cpp
parenteebcc8968e72a670fccad8bdba8d46c58a796202 (diff)
downloadopenttd-4a621fec6380c29103945fe25261dafd63b904f2.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.cpp2
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);