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 | d82304ccab8f9f8e363139c2c4ea2b303e81b29e (patch) | |
tree | 118c04e6e82591e4ff49f4f11484e4ef09e54241 /src | |
parent | bc523186e0f67d15d3ddaa509c3dc93682d32565 (diff) | |
download | openttd-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.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); |