[SHELL32] Fix broken delete file type verb (#7462)

CORE-19809
This commit is contained in:
Whindmar Saksit 2024-10-18 14:42:08 +02:00 committed by GitHub
parent 30952992e1
commit 5797340164
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1221,7 +1221,7 @@ EditTypeDlg_WriteClass(HWND hwndDlg, PEDITTYPE_DIALOG pEditType,
} }
HKEY hShellKey; HKEY hShellKey;
if (RegCreateKeyExW(hClassKey, L"shell", 0, NULL, 0, KEY_WRITE, NULL, if (RegCreateKeyExW(hClassKey, L"shell", 0, NULL, 0, KEY_READ | KEY_WRITE, NULL,
&hShellKey, NULL) != ERROR_SUCCESS) &hShellKey, NULL) != ERROR_SUCCESS)
{ {
RegCloseKey(hClassKey); RegCloseKey(hClassKey);