diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-05-30 05:31:35 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-05-30 05:31:35 +0000 |
commit | d37e9c38c9d330a12b70a7d0f6428af372218948 (patch) | |
tree | 4721701090b849d3f473b5e4e66e557bcc55c871 | |
parent | 01f51424edc1ff2ad7bf5b327548fcc5d1444a29 (diff) | |
download | crawl-ref-d37e9c38c9d330a12b70a7d0f6428af372218948.tar.gz crawl-ref-d37e9c38c9d330a12b70a7d0f6428af372218948.zip |
Fix bug which was preventing the crash reporter from dumping the message
history to the report file.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9849 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/debug.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/debug.cc b/crawl-ref/source/debug.cc index 0bccde0e96..7cf438e693 100644 --- a/crawl-ref/source/debug.cc +++ b/crawl-ref/source/debug.cc @@ -6546,7 +6546,7 @@ void do_crash_dump() fprintf(file, ">>>>>>>>>>>>>>>>>>>>>>" EOL); // Dumping current messages is unlikely to crash. - if (file != stderr) + if (file != stdout) { fprintf(file, EOL "Messages:" EOL); fprintf(file, "<<<<<<<<<<<<<<<<<<<<<<" EOL); |