diff options
Diffstat (limited to 'crawl-ref/source/stuff.cc')
-rw-r--r-- | crawl-ref/source/stuff.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/stuff.cc b/crawl-ref/source/stuff.cc index b1c972b826..6d0f282909 100644 --- a/crawl-ref/source/stuff.cc +++ b/crawl-ref/source/stuff.cc @@ -423,6 +423,7 @@ void end(int exit_code, bool print_error, const char *format, ...) if (error[error.length() - 1] != '\n') error += "\n"; fprintf(stderr, "%s", error.c_str()); + error.clear(); } #if defined(WIN32CONSOLE) || defined(DOS) |