Merge pull request #401 from PCSX2/unicode-mess

pcsx2:wx3: fix filter selection of iso
This commit is contained in:
Gregory Hainaut 2014-12-21 13:21:35 +01:00
commit da969ffaeb
1 changed files with 2 additions and 2 deletions

View File

@ -228,12 +228,12 @@ static wxString JoinFiletypes( const wxChar** src )
if( !dest.IsEmpty() )
dest += L";";
dest += pxsFmt(L"*.%s", *src);
dest += pxsFmt(L"*.%ls", *src);
if (wxFileName::IsCaseSensitive())
{
// omgosh! the filesystem is CaSE SeNSiTiVE!!
dest += pxsFmt(L";*.%s", *src).ToUpper();
dest += pxsFmt(L";*.%ls", *src).ToUpper();
}
++src;