From 7d460a4ea87b58cc449836a60231f89f64de4293 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Tue, 3 May 2011 00:38:44 +0200 Subject: [PATCH] winefile: Fix the View and Options menu handles. --- programs/winefile/winefile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/winefile/winefile.c b/programs/winefile/winefile.c index 51a889dc2cd..1b56308d01e 100644 --- a/programs/winefile/winefile.c +++ b/programs/winefile/winefile.c @@ -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;