From d9d32d3619e97861cc48c17427d20a4a57f52438 Mon Sep 17 00:00:00 2001 From: glx Date: Mon, 14 Jul 2008 20:04:54 +0000 Subject: (svn r13701) -Codechange: add some more info in crash.log --- src/win32.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/win32.cpp') diff --git a/src/win32.cpp b/src/win32.cpp index 5081cff98..7c57c0746 100644 --- a/src/win32.cpp +++ b/src/win32.cpp @@ -33,6 +33,7 @@ #include #if defined(_MSC_VER) && !defined(WINCE) #include + #include "strings_func.h" #endif static bool _has_console; @@ -497,6 +498,8 @@ static LONG WINAPI ExceptionHandler(EXCEPTION_POINTERS *ep) 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" -- cgit v1.2.3-54-g00ecf