Francois Gouget : winefile: Fix the View and Options menu handles.

Alexandre Julliard julliard at winehq.org
Tue May 3 13:30:57 CDT 2011


Module: wine
Branch: master
Commit: 7d460a4ea87b58cc449836a60231f89f64de4293
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7d460a4ea87b58cc449836a60231f89f64de4293

Author: Francois Gouget <fgouget at free.fr>
Date:   Tue May  3 00:38:44 2011 +0200

winefile: Fix the View and Options menu handles.

---

 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;




More information about the wine-cvs mailing list