Fix game list name encoding error caused by 4.0-6419 (d7900b4
)
The UTF-8 std::strings were being interpreted as the default encoding.
This commit is contained in:
parent
255a8dfdd2
commit
f1580a4c91
|
@ -387,7 +387,7 @@ void CGameListCtrl::InsertItemInReportView(long _Index)
|
||||||
// Set the game's banner in the second column
|
// Set the game's banner in the second column
|
||||||
SetItemColumnImage(_Index, COLUMN_BANNER, ImageIndex);
|
SetItemColumnImage(_Index, COLUMN_BANNER, ImageIndex);
|
||||||
|
|
||||||
wxString name = rISOFile.GetName();
|
wxString name = StrToWxStr(rISOFile.GetName());
|
||||||
|
|
||||||
std::ifstream titlestxt;
|
std::ifstream titlestxt;
|
||||||
OpenFStream(titlestxt, File::GetUserPath(D_LOAD_IDX) + "titles.txt", std::ios::in);
|
OpenFStream(titlestxt, File::GetUserPath(D_LOAD_IDX) + "titles.txt", std::ios::in);
|
||||||
|
|
Loading…
Reference in New Issue