[SHELL32]

- Make the "Open with" dialog start in Program Files as is done in Windows (doesn't really changes anything because comdlg32 doesn't expand environment variables).

svn path=/trunk/; revision=73823
This commit is contained in:
Kamil Hornicek
2017-02-17 23:39:39 +00:00
parent 1f58ae3a5d
commit 67e4aa500e
@@ -907,6 +907,7 @@ VOID COpenWithDialog::Browse()
ofn.Flags = OFN_PATHMUSTEXIST | OFN_FILEMUSTEXIST;
ofn.nMaxFile = (sizeof(wszPath) / sizeof(WCHAR));
ofn.lpstrFile = wszPath;
ofn.lpstrInitialDir = L"%programfiles%";
/* Init title */
if (LoadStringW(shell32_hInstance, IDS_OPEN_WITH, wszTitle, sizeof(wszTitle) / sizeof(WCHAR)))