Commit 3e2ff7e5 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

comctl32/tests: Remove some dead code from TaskManager_OnRestoreMainWindow.

parent 2ba53f47
......@@ -502,11 +502,8 @@ static void SaveSettings(void)
static void TaskManager_OnRestoreMainWindow(void)
{
HMENU hMenu, hOptionsMenu;
BOOL OnTop;
hMenu = GetMenu(hMainWnd);
hOptionsMenu = GetSubMenu(hMenu, OPTIONS_MENU_INDEX);
OnTop = ((GetWindowLong(hMainWnd, GWL_EXSTYLE) & WS_EX_TOPMOST) != 0);
OpenIcon(hMainWnd);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment