diff --git a/src/win32.cpp b/src/win32.cpp index 5081cff98d..7c57c07461 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"