mirror of
https://github.com/reactos/reactos.git
synced 2025-07-27 07:41:51 +00:00
[EXPLORER]
- Fix uninitialized variable use in CTaskSwitchWnd::OnContextMenu svn path=/trunk/; revision=66353
This commit is contained in:
parent
888d828ea7
commit
b45c1ca3a8
1 changed files with 10 additions and 12 deletions
|
@ -1756,11 +1756,12 @@ public:
|
|||
|
||||
LRESULT OnContextMenu(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
|
||||
{
|
||||
LRESULT Ret;
|
||||
LRESULT Ret = 0;
|
||||
INT_PTR iBtn = -1;
|
||||
|
||||
if (m_TaskBar.m_hWnd != NULL)
|
||||
{
|
||||
POINT pt;
|
||||
INT_PTR iBtn;
|
||||
|
||||
pt.x = GET_X_LPARAM(lParam);
|
||||
pt.y = GET_Y_LPARAM(lParam);
|
||||
|
@ -1772,13 +1773,10 @@ public:
|
|||
{
|
||||
HandleButtonRightClick(iBtn);
|
||||
}
|
||||
else
|
||||
goto ForwardContextMenuMsg;
|
||||
}
|
||||
else
|
||||
if (iBtn < 0)
|
||||
{
|
||||
ForwardContextMenuMsg:
|
||||
/* Forward message */
|
||||
/* Not on a taskbar button, so forward message to tray */
|
||||
Ret = SendMessage(m_Tray->GetHWND(), uMsg, wParam, lParam);
|
||||
}
|
||||
return Ret;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue