mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-28 19:00:23 +00:00
Merge pull request #3676 from Kingcom/BrowseForFolderFix
Fix BrowseForFolder
This commit is contained in:
commit
634aa7649e
@ -14,10 +14,12 @@ namespace W32Util
|
||||
{
|
||||
std::string BrowseForFolder(HWND parent, char *title)
|
||||
{
|
||||
std::wstring titleString = ConvertUTF8ToWString(title);
|
||||
|
||||
BROWSEINFO info;
|
||||
memset(&info,0,sizeof(info));
|
||||
info.hwndOwner = parent;
|
||||
info.lpszTitle = ConvertUTF8ToWString(title).c_str();
|
||||
info.lpszTitle = titleString.c_str();
|
||||
info.ulFlags = BIF_EDITBOX | BIF_RETURNONLYFSDIRS | BIF_USENEWUI;
|
||||
|
||||
//info.pszDisplayName
|
||||
|
Loading…
Reference in New Issue
Block a user