summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-01-21 17:09:32 +0000
committertruelight <truelight@openttd.org>2007-01-21 17:09:32 +0000
commitd82304ccab8f9f8e363139c2c4ea2b303e81b29e (patch)
tree118c04e6e82591e4ff49f4f11484e4ef09e54241 /src
parentbc523186e0f67d15d3ddaa509c3dc93682d32565 (diff)
downloadopenttd-d82304ccab8f9f8e363139c2c4ea2b303e81b29e.tar.xz
(svn r8315) -Fix: use ShowInfo over fprintf(stderr, as Windows doesn't always have a stderr visible/available
Diffstat (limited to 'src')
-rw-r--r--src/gfxinit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gfxinit.cpp b/src/gfxinit.cpp
index 6de300100..66b772bb1 100644
--- a/src/gfxinit.cpp
+++ b/src/gfxinit.cpp
@@ -145,7 +145,7 @@ static bool FileMD5(const MD5File file, bool warn)
while ((len = fread(buffer, 1, sizeof(buffer), f)) != 0)
md5_append(&filemd5state, buffer, len);
- if (ferror(f) && warn) fprintf(stderr, "Error Reading from %s \n", buf);
+ if (ferror(f) && warn) ShowInfoF("Error Reading from %s \n", buf);
fclose(f);
md5_finish(&filemd5state, digest);