crash fix - missing parameters in a vprintf can crash the program

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1060 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
fires.gc 2008-11-03 15:21:13 +00:00
parent c74a30b486
commit f274a86de8
2 changed files with 5 additions and 3 deletions

View File

@ -304,8 +304,9 @@ void CFilesystemViewer::OnExtractFile(wxCommandEvent& WXUNUSED (event))
wxEmptyString, File, wxEmptyString,
wxString::Format
(
_T("All files (%s)|%s"),
wxFileSelectorDefaultWildcardStr
_T("All files (%s)|%s"),
wxFileSelectorDefaultWildcardStr,
wxFileSelectorDefaultWildcardStr
),
wxFD_SAVE,
this);

View File

@ -245,7 +245,8 @@ void CMemcardManager::CopyDeleteClick(wxCommandEvent& event)
_T("Gamecube save files(*.gci,*.gcs,*.sav)|*.gci;*.gcs;*.sav|"
"Native GCI files (*.gci)|*.gci|"
"MadCatz Gameshark files(*.gcs)|*.gcs|"
"Datel MaxDrive/Pro files(*.sav)|*.sav"),
"Datel MaxDrive/Pro files(*.sav)|*.sav|",
"All files (%s)|%s"),
wxFileSelectorDefaultWildcardStr,
wxFileSelectorDefaultWildcardStr
),