https://git.reactos.org/?p=reactos.git;a=commitdiff;h=21e68b0dba6f413523804934ec15f272159dc34b

commit 21e68b0dba6f413523804934ec15f272159dc34b
Author:     Mark Jansen <[email protected]>
AuthorDate: Thu Oct 20 19:12:33 2022 +0200
Commit:     Mark Jansen <[email protected]>
CommitDate: Wed Oct 26 20:18:40 2022 +0200

    [SHELL32] Fix empty 'Send to' menu
    
    CORE-18517
---
 dll/win32/shell32/CSendToMenu.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dll/win32/shell32/CSendToMenu.cpp 
b/dll/win32/shell32/CSendToMenu.cpp
index 9e9fbe8afeb..1f8c42ef144 100644
--- a/dll/win32/shell32/CSendToMenu.cpp
+++ b/dll/win32/shell32/CSendToMenu.cpp
@@ -244,6 +244,7 @@ UINT CSendToMenu::InsertSendToItems(HMENU hMenu, UINT 
idCmdFirst, UINT Pos)
     {
         CStringW strNone(MAKEINTRESOURCEW(IDS_NONE));
         AppendMenuW(hMenu, MF_GRAYED | MF_DISABLED | MF_STRING, idCmd, 
strNone);
+        ++idCmd;
     }
 
     return idCmd - idCmdFirst;

Reply via email to