mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 16:30:30 +02:00
Fix BrowseForFolder
This commit is contained in:
1 parent
8c88dff5a4
commit
31a8a04675
1 file changed
+3
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user