Re: Patch for bug 1848 - TrackPopupMenu returns wrong result, when menu is canceled
11 Dec
2003
11 Dec
'03
6:28 p.m.
On December 11, 2003 01:20 pm, Andreas Rosenberg wrote:
+ if (!(menu = MENU_GetMenu( hmenu ))) + { + SetLastError(ERROR_INVALID_MENU_HANDLE); /* - added by A.Rosenberg 2003.12.11 */ + return FALSE; + }
No need to add the 'added by ...' comment, it uglifies the code needlessly. That info is available in the log. Also, please try to follow the style of the file, nowhere do we use this bracketing style. -- Dimi.
8042
Age (days ago)
8042
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dimitrie O. Paun