Re: Possible bug (with fix) in MENU_FindItem()
Jan. 8, 2003
10:04 a.m.
Peter Gerwinski wrote:
Hello,
while developing an application for WINE (also intended to run under MSPOW = MicroSoft's Parody Of WINE, spoken "m-spow";-) I encountered something which I consider a bug in WINE:
When I invoke EnableMenuItem to enable/disable a menu item holding a command with the numeric value 200, the first popup menu is enabled/disabled instead of the menu item. (This behaviour does not show up under MSPOW, version "ME".)
IMHO this is due to a wrong order of two "if" conditions in control/menu.c:MENU_FindItem().
I am attaching a patch which fixed the problem for me.
Hi. Please submit to wine-patches. It will be unlikely to get into wine if submitted here.
8478
Age (days ago)
8478
Last active (days ago)
0 comments
1 participants
participants (1)
-
Duane Clark