winefile: Fix the View and Options menu handles.

This commit is contained in:
Francois Gouget 2011-05-03 00:38:44 +02:00 committed by Alexandre Julliard
parent 6c8c68f7b6
commit 7d460a4ea8

View file

@ -4558,8 +4558,8 @@ static BOOL show_frame(HWND hwndParent, int cmdshow, LPCWSTR path)
hMenuWindow = GetSubMenu(hMenuFrame, GetMenuItemCount(hMenuFrame)-2);
Globals.hMenuFrame = hMenuFrame;
Globals.hMenuView = GetSubMenu(hMenuFrame, 3);
Globals.hMenuOptions = GetSubMenu(hMenuFrame, 4);
Globals.hMenuView = GetSubMenu(hMenuFrame, 2);
Globals.hMenuOptions = GetSubMenu(hMenuFrame, 3);
ccs.hWindowMenu = hMenuWindow;
ccs.idFirstChild = IDW_FIRST_CHILD;