]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/crashrpt.cpp
Better fix
[wxWidgets.git] / src / msw / crashrpt.cpp
index d1a372467de968562020a83fdcd85de816ab85a0..d2a303abbe0dffa90cac70c6ce1042c5f2167dee 100644 (file)
@@ -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);