winefile: Fix the View and Options menu handles.

Francois Gouget fgouget at free.fr
Mon May 2 17:38:44 CDT 2011


This fixes the checking / unchecking of the corresponding menu entries.
---

 programs/winefile/winefile.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/programs/winefile/winefile.c b/programs/winefile/winefile.c
index 51a889d..1b56308 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;
-- 
1.7.4.4




More information about the wine-patches mailing list