зеркало из https://github.com/mozilla/pjs.git
fixing bug #18563. Select Directory dialog now works correctly. affects only windows platforms.
This commit is contained in:
Родитель
937bba600e
Коммит
793e7c45bb
|
@ -295,7 +295,6 @@ LRESULT CALLBACK BrowseHookProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM l
|
|||
{
|
||||
AppendBackSlash(szPath, sizeof(szPath));
|
||||
lstrcpy(szPath, szTempPath);
|
||||
break;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -654,7 +653,6 @@ LRESULT CALLBACK DlgProcSetupType(HWND hDlg, UINT msg, WPARAM wParam, LONG lPara
|
|||
lppidlPath = SHBrowseForFolder(&biBrowseInfo);
|
||||
*/
|
||||
|
||||
GetDlgItemText(hDlg, IDC_EDIT_DESTINATION, szTempSetupPath, MAX_PATH);
|
||||
BrowseForDirectory(hDlg, szTempSetupPath);
|
||||
|
||||
/* fix: hack to work around bug with this dlg proc no longer being called
|
||||
|
|
Загрузка…
Ссылка в новой задаче