(svn r13701) -Codechange: add some more info in crash.log
authorglx
Mon, 14 Jul 2008 20:04:54 +0000
changeset 11143 d23b4ec636eb
parent 11142 2319fe9cea7d
child 11144 7eff560780d2
(svn r13701) -Codechange: add some more info in crash.log
src/win32.cpp
--- a/src/win32.cpp	Mon Jul 14 18:22:15 2008 +0000
+++ b/src/win32.cpp	Mon Jul 14 20:04:54 2008 +0000
@@ -33,6 +33,7 @@
 #include <sys/stat.h>
 #if defined(_MSC_VER) && !defined(WINCE)
 	#include <dbghelp.h>
+	#include "strings_func.h"
 #endif
 
 static bool _has_console;
@@ -497,6 +498,8 @@
 	if (_exception_string)
 		output += sprintf(output, "Reason: %s\r\n", _exception_string);
 
+	output += sprintf(output, "Language: %s\r\n", _dynlang.curr_file);
+
 #ifdef _M_AMD64
 	output += sprintf(output, "Exception %.8X at %.16IX\r\n"
 		"Registers:\r\n"