From 688ea338857a9ec4f945685bcc9e1359547f14cd Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 19 Jul 2005 08:39:00 +0000 Subject: [PATCH] That Printf was producing wrong results on x86_64 for some reason. --- src/mmg/tab_input.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mmg/tab_input.cpp b/src/mmg/tab_input.cpp index d121dbfa3..d83c39830 100644 --- a/src/mmg/tab_input.cpp +++ b/src/mmg/tab_input.cpp @@ -709,8 +709,10 @@ tab_input::select_file(bool append) { a_exts += wxString::Format(wxT("*.%s"), all_extensions[ae].c_str()); } - media_files.Printf(wxT("All supported media files|%s%s|%s"), - a_exts.c_str(), rest.c_str(), wxT(ALLFILES)); + media_files = wxT("All supported media files|"); + media_files += a_exts + rest; + media_files += wxT("|"); + media_files += wxT(ALLFILES); wxFileDialog dlg(NULL, append ? wxT("Choose an input file to append") : wxT("Choose an input file to add"),