From 2da24f72747da07782c99da185246761e9b572e6 Mon Sep 17 00:00:00 2001 From: Katayama Hirofumi MZ Date: Sun, 28 Apr 2019 08:43:24 +0900 Subject: [PATCH] [COMDLG32] Follow up of #1514 CORE-7114 Don't load asterisk extension --- dll/win32/comdlg32/filedlg.c | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/dll/win32/comdlg32/filedlg.c b/dll/win32/comdlg32/filedlg.c index eed9f59dedd..76d18bf47e1 100644 --- a/dll/win32/comdlg32/filedlg.c +++ b/dll/win32/comdlg32/filedlg.c @@ -2631,27 +2631,6 @@ static void FILEDLG95_MRU_load_ext(LPWSTR stored_path, size_t cchMax, LPCWSTR de (*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); }