mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 12:04:51 +00:00
[COMDLG32] Follow up of #1514 CORE-7114 Don't load asterisk extension
This commit is contained in:
parent
9256c808b1
commit
2da24f7274
1 changed files with 0 additions and 21 deletions
|
@ -2631,27 +2631,6 @@ static void FILEDLG95_MRU_load_ext(LPWSTR stored_path, size_t cchMax, LPCWSTR de
|
||||||
(*s_pFreeMRUList)(hList);
|
(*s_pFreeMRUList)(hList);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (stored_path[0] == 0)
|
|
||||||
{
|
|
||||||
mi.cbSize = sizeof(mi);
|
|
||||||
mi.uMax = 26;
|
|
||||||
mi.fFlags = MRU_STRING;
|
|
||||||
mi.hKey = hOpenSaveMRT;
|
|
||||||
mi.lpszSubKey = s_szAst;
|
|
||||||
mi.u.string_cmpfn = lstrcmpiW;
|
|
||||||
hList = (*s_pCreateMRUListW)(&mi);
|
|
||||||
if (hList)
|
|
||||||
{
|
|
||||||
ret = (*s_pEnumMRUListW)(hList, 0, szText, sizeof(szText));
|
|
||||||
if (ret > 0)
|
|
||||||
{
|
|
||||||
lstrcpynW(stored_path, szText, cchMax);
|
|
||||||
PathRemoveFileSpecW(stored_path);
|
|
||||||
}
|
|
||||||
(*s_pFreeMRUList)(hList);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
RegCloseKey(hOpenSaveMRT);
|
RegCloseKey(hOpenSaveMRT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue