From d37e9c38c9d330a12b70a7d0f6428af372218948 Mon Sep 17 00:00:00 2001 From: zelgadis Date: Sat, 30 May 2009 05:31:35 +0000 Subject: 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 --- crawl-ref/source/debug.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3-54-g00ecf