From 9a958328220b25226d259e43791eee4b06fe86ef Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 8 Jan 2008 00:32:35 +0000 Subject: [PATCH] compilation fix for STL build; also don't pass unknown string potentially containing percent signs to printf-like functions git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/crashrpt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/crashrpt.cpp b/src/msw/crashrpt.cpp index d1a372467d..d2a303abbe 100644 --- a/src/msw/crashrpt.cpp +++ b/src/msw/crashrpt.cpp @@ -227,7 +227,7 @@ bool wxCrashReportImpl::Generate(int flags, EXCEPTION_POINTERS *ep) } else // dbghelp.dll couldn't be loaded { - Output(wxDbgHelpDLL::GetErrorMessage()); + Output(_T("%s"), wxDbgHelpDLL::GetErrorMessage().c_str()); } #else // !wxUSE_DBGHELP wxUnusedVar(flags);