diff options
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/windows/handler/exception_handler.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/windows/handler/exception_handler.cc b/src/client/windows/handler/exception_handler.cc index 5ddb6c8f..ba14e4d2 100644 --- a/src/client/windows/handler/exception_handler.cc +++ b/src/client/windows/handler/exception_handler.cc @@ -477,7 +477,10 @@ void ExceptionHandler::UpdateNextID() { wchar_t minidump_path[MAX_PATH]; swprintf(minidump_path, MAX_PATH, L"%s\\%s.dmp", dump_path_c_, next_minidump_id_c_); - GB_WSU_SAFE_SWPRINTF_TERMINATE(minidump_path, MAX_PATH); + + // remove when VC++7.1 is no longer supported + minidump_path[MAX_PATH - 1] = L'\0'; + next_minidump_path_ = minidump_path; next_minidump_path_c_ = next_minidump_path_.c_str(); } |