summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2008-11-22 00:20:33 +0000
committerShawn Hoffman <godisgovernment@gmail.com>2008-11-22 00:20:33 +0000
commitfb2b57a47c7dcdbd0b2313343cd81cf8a9354357 (patch)
treea8c396bf2f3809b1148612ec452c6467d98f45f1 /Source/Core
parent016d9c1ba10367edef8ee1fdf045c45273727bb9 (diff)
build fix for nix (for the last commit)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1240 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinWX/Src/ISOProperties.cpp4
1 files 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();