From fb2b57a47c7dcdbd0b2313343cd81cf8a9354357 Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Sat, 22 Nov 2008 00:20:33 +0000 Subject: [PATCH] build fix for nix (for the last commit) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1240 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DolphinWX/Src/ISOProperties.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/DolphinWX/Src/ISOProperties.cpp b/Source/Core/DolphinWX/Src/ISOProperties.cpp index 818088a58f..81d3541da0 100644 --- a/Source/Core/DolphinWX/Src/ISOProperties.cpp +++ b/Source/Core/DolphinWX/Src/ISOProperties.cpp @@ -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();