diff options
-rw-r--r-- | src/win32.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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 <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 @@ 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" |