From d192f1c3321606ecf2b25ae456ae65ea63b33102 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Thu, 29 Dec 2011 05:36:49 +0000 Subject: [PATCH] Fix bad format string that made stack trace writing fail after one stack frame Originally committed to SVN as r6184. --- aegisub/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/main.cpp b/aegisub/src/main.cpp index 37ef361e2..2936b7de7 100644 --- a/aegisub/src/main.cpp +++ b/aegisub/src/main.cpp @@ -461,7 +461,7 @@ void StackWalker::OnStackFrame(const wxStackFrame &frame) { crash_xml->Write(wxString::Format(" \n", frame.GetLevel(), frame.GetAddress())); crash_xml->Write(wxString::Format(" %s\n", frame.GetName())); if (frame.HasSourceLocation()) - crash_xml->Write(wxString::Format(" %s%s\n", frame.GetLine(), frame.GetFileName())); + crash_xml->Write(wxString::Format(" %s\n", frame.GetLine(), frame.GetFileName())); crash_xml->Write(wxString::Format(" \n", frame.GetModule())); crash_xml->Write( " \n"); }