diff options
author | truelight <truelight@openttd.org> | 2007-01-21 17:09:32 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-01-21 17:09:32 +0000 |
commit | 365dc05cd7e624872d07663a6881a1e44794baf0 (patch) | |
tree | 118c04e6e82591e4ff49f4f11484e4ef09e54241 | |
parent | 3d5acc1450c0e2cbf1d8fecdc0ffc0feafe4d84c (diff) | |
download | openttd-365dc05cd7e624872d07663a6881a1e44794baf0.tar.xz |
(svn r8315) -Fix: use ShowInfo over fprintf(stderr, as Windows doesn't always have a stderr visible/available
-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 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); |