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");
}