projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rnd-19981217-1
[rocksndiamonds.git]
/
src
/
misc.c
diff --git
a/src/misc.c
b/src/misc.c
index 15c8099f24755b0d8d6f0155a52281ff2c9f98ca..39d1fdc45864f5c8022f6891efdb08ca9a49b51e 100644
(file)
--- a/
src/misc.c
+++ b/
src/misc.c
@@
-445,6
+445,10
@@
void Error(int mode, char *format, ...)
char *process_name = "";
FILE *error = stderr;
+ /* display warnings only when running in verbose mode */
+ if (mode & ERR_WARN && !options.verbose)
+ return;
+
#ifdef MSDOS
if ((error = openErrorFile()) == NULL)
{