pcsx2:wx3: fix filter selection of iso

On linux, wxChar requires a %ls

It must be tested on windows:
1/ >CDVD>Iso selector>Browse...
2/ try the different filter
This commit is contained in:
Gregory Hainaut 2014-12-21 12:34:05 +01:00
parent dc1cd3eb25
commit 2bc4686afa
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;