build fix for nix (for the last commit)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1240 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman 2008-11-22 00:20:33 +00:00
parent 016d9c1ba1
commit fb2b57a47c
1 changed files with 2 additions and 2 deletions

View File

@ -549,12 +549,12 @@ bool CISOProperties::SaveGameConfig()
void CISOProperties::OnEditConfig(wxCommandEvent& WXUNUSED (event)) void CISOProperties::OnEditConfig(wxCommandEvent& WXUNUSED (event))
{ {
if (wxFileExists(GameIniFile.c_str())) if (wxFileExists(wxString::FromAscii(GameIniFile.c_str())))
{ {
SaveGameConfig(); SaveGameConfig();
wxFileType* filetype = wxTheMimeTypesManager->GetFileTypeFromExtension(_("ini")); wxFileType* filetype = wxTheMimeTypesManager->GetFileTypeFromExtension(_("ini"));
wxExecute(filetype->GetOpenCommand(_(GameIniFile.c_str())), wxEXEC_SYNC); wxExecute(filetype->GetOpenCommand(wxString::FromAscii(GameIniFile.c_str())), wxEXEC_SYNC);
GameIni.Load(GameIniFile.c_str()); GameIni.Load(GameIniFile.c_str());
LoadGameConfig(); LoadGameConfig();