Fix bad format string that made stack trace writing fail after one stack frame
Originally committed to SVN as r6184.
This commit is contained in:
parent
68b2ae8275
commit
d192f1c332
1 changed files with 1 additions and 1 deletions
|
@ -461,7 +461,7 @@ void StackWalker::OnStackFrame(const wxStackFrame &frame) {
|
||||||
crash_xml->Write(wxString::Format(" <frame id='%i' loc='%X'>\n", frame.GetLevel(), frame.GetAddress()));
|
crash_xml->Write(wxString::Format(" <frame id='%i' loc='%X'>\n", frame.GetLevel(), frame.GetAddress()));
|
||||||
crash_xml->Write(wxString::Format(" <name>%s</name>\n", frame.GetName()));
|
crash_xml->Write(wxString::Format(" <name>%s</name>\n", frame.GetName()));
|
||||||
if (frame.HasSourceLocation())
|
if (frame.HasSourceLocation())
|
||||||
crash_xml->Write(wxString::Format(" <file line='%d'>%s</file>%s</name>\n", frame.GetLine(), frame.GetFileName()));
|
crash_xml->Write(wxString::Format(" <file line='%d'>%s</file>\n", frame.GetLine(), frame.GetFileName()));
|
||||||
crash_xml->Write(wxString::Format(" <module><![CDATA[%s]]></module>\n", frame.GetModule()));
|
crash_xml->Write(wxString::Format(" <module><![CDATA[%s]]></module>\n", frame.GetModule()));
|
||||||
crash_xml->Write( " </frame>\n");
|
crash_xml->Write( " </frame>\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue