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:
parent
016d9c1ba1
commit
fb2b57a47c
|
@ -549,12 +549,12 @@ bool CISOProperties::SaveGameConfig()
|
|||
|
||||
void CISOProperties::OnEditConfig(wxCommandEvent& WXUNUSED (event))
|
||||
{
|
||||
if (wxFileExists(GameIniFile.c_str()))
|
||||
if (wxFileExists(wxString::FromAscii(GameIniFile.c_str())))
|
||||
{
|
||||
SaveGameConfig();
|
||||
|
||||
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());
|
||||
LoadGameConfig();
|
||||
|
|
Loading…
Reference in New Issue