https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2da24f72747da07782c99da185246761e9b572e6

commit 2da24f72747da07782c99da185246761e9b572e6
Author:     Katayama Hirofumi MZ <[email protected]>
AuthorDate: Sun Apr 28 08:43:24 2019 +0900
Commit:     Katayama Hirofumi MZ <[email protected]>
CommitDate: Sun Apr 28 08:44:52 2019 +0900

    [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 eed9f59ded..76d18bf47e 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);
     }
 

Reply via email to