Re: PATCH: controls/menu.c case ranges

2004-07-22 Thread Marcus Meissner
On Thu, Jul 22, 2004 at 02:34:20PM -0700, Alexandre Julliard wrote: > Marcus Meissner <[EMAIL PROTECTED]> writes: > > > Another try on fixing the case range problems (WORD is unsigned, > > HBMMENU_CALLBACK is -1, so out of range of the switch). > > I think this is revealing a deeper problem with

Re: PATCH: controls/menu.c case ranges

2004-07-22 Thread Alexandre Julliard
Marcus Meissner <[EMAIL PROTECTED]> writes: > Another try on fixing the case range problems (WORD is unsigned, > HBMMENU_CALLBACK is -1, so out of range of the switch). I think this is revealing a deeper problem with that code, the magic value check should be done against the whole handle, not j