(svn r8315) -Fix: use ShowInfo over fprintf(stderr, as Windows doesn't always have a stderr visible/available

This commit is contained in:
truelight 2007-01-21 17:09:32 +00:00
parent bc523186e0
commit d82304ccab

View File

@ -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);