[EXPLORER] Fix showing the lock status in the taskbar popup menu
[reactos.git] / base / shell / explorer / traywnd.cpp
index 9ca7b25..bf71ad0 100644 (file)
@@ -2993,7 +2993,7 @@ public:
                        MF_BYCOMMAND);
         }
 
-        CheckMenuItem(hPopup,
+        CheckMenuItem(menubase,
                       ID_LOCKTASKBAR,
                       MF_BYCOMMAND | (g_TaskbarSettings.bLock ? MF_CHECKED : MF_UNCHECKED));