From 9516a6b19e05e4cec2717d073ac7eaf632cd8cac Mon Sep 17 00:00:00 2001 From: nakeee Date: Thu, 16 Apr 2009 08:21:57 +0000 Subject: [PATCH] compile fix git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2981 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DolphinWX/Src/GameListCtrl.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Source/Core/DolphinWX/Src/GameListCtrl.cpp b/Source/Core/DolphinWX/Src/GameListCtrl.cpp index d5c20fa9a2..93401cd486 100644 --- a/Source/Core/DolphinWX/Src/GameListCtrl.cpp +++ b/Source/Core/DolphinWX/Src/GameListCtrl.cpp @@ -285,17 +285,16 @@ void CGameListCtrl::InsertItemInReportView(long _Index) SetItem(_Index, COLUMN_NOTES, description, -1); // NetPLay string - m_gameList.append(std::string(name) + " (J)\n"); + m_gameList.append(std::string(name.mb_str()) + " (J)\n"); break; case DiscIO::IVolume::COUNTRY_USA: - m_gameList.append(std::string(wxString::From8BitData(rISOFile.GetName(0).c_str())) + " (U)\n"); + m_gameList.append(std::string(wxString::From8BitData(rISOFile.GetName(0).c_str()).mb_str()) + " (U)\n"); SetItem(_Index, COLUMN_TITLE, wxString::From8BitData(rISOFile.GetName(0).c_str()), -1); SetItem(_Index, COLUMN_NOTES, wxString::From8BitData(rISOFile.GetDescription(0).c_str()), -1); break; default: - m_gameList.append(std::string(wxString::From8BitData( - rISOFile.GetName((int)SConfig::GetInstance().m_InterfaceLanguage).c_str()))+ " (E)\n"); + m_gameList.append(std::string(wxString::From8BitData(rISOFile.GetName((int)SConfig::GetInstance().m_InterfaceLanguage).c_str()).mb_str()) + " (E)\n"); SetItem(_Index, COLUMN_TITLE, wxString::From8BitData(rISOFile.GetName((int)SConfig::GetInstance().m_InterfaceLanguage).c_str()), -1); SetItem(_Index, COLUMN_NOTES,