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

commit fabf069daf030d0ddc32b094e2445d61e4834a9b
Author:     Giannis Adamopoulos <gadamopou...@reactos.org>
AuthorDate: Mon Jan 29 18:13:22 2018 +0200
Commit:     Giannis Adamopoulos <gadamopou...@reactos.org>
CommitDate: Mon Jan 29 18:15:31 2018 +0200

    [EXPLORER] Fix showing the lock status in the taskbar popup menu
---
 base/shell/explorer/traywnd.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/base/shell/explorer/traywnd.cpp b/base/shell/explorer/traywnd.cpp
index 9ca7b25781..bf71ad0e17 100644
--- a/base/shell/explorer/traywnd.cpp
+++ b/base/shell/explorer/traywnd.cpp
@@ -2993,7 +2993,7 @@ public:
                        MF_BYCOMMAND);
         }
 
-        CheckMenuItem(hPopup,
+        CheckMenuItem(menubase,
                       ID_LOCKTASKBAR,
                       MF_BYCOMMAND | (g_TaskbarSettings.bLock ? MF_CHECKED : 
MF_UNCHECKED));
 

Reply via email to