From 80c38d95e9fc8d5451ea6b0603583a96bbaddbb7 Mon Sep 17 00:00:00 2001 From: ge0rdi Date: Sat, 26 Sep 2020 09:10:44 +0200 Subject: [PATCH] ModernSettings: Fix crash when invoking with unknown verb --- Src/StartMenu/StartMenuHelper/ModernSettingsContextMenu.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Src/StartMenu/StartMenuHelper/ModernSettingsContextMenu.cpp b/Src/StartMenu/StartMenuHelper/ModernSettingsContextMenu.cpp index bf282fe..44bf389 100644 --- a/Src/StartMenu/StartMenuHelper/ModernSettingsContextMenu.cpp +++ b/Src/StartMenu/StartMenuHelper/ModernSettingsContextMenu.cpp @@ -19,7 +19,6 @@ struct ICIVERBTOIDMAP static const ICIVERBTOIDMAP g_ContextMenuIDMap[] = { { L"open", "open", MENUVERB_OPEN }, - { NULL, NULL, (UINT)-1 } }; HRESULT _MapICIVerbToCmdID(LPCMINVOKECOMMANDINFO pici, UINT* pid)