mbc <[EMAIL PROTECTED]> writes:

> Here's a patch for dlls/comctl32/toolbar.c
> It corrects a potential crash and removes the one pixel of garbage
> that's appearing at the bottom of the toolbar.
> @@ -1687,13 +1688,16 @@
>       lpTbInfo->fsState = btnPtr->fsState;
>      if (lpTbInfo->dwMask & TBIF_STYLE)
>       lpTbInfo->fsStyle = btnPtr->fsStyle;
> -    if (lpTbInfo->dwMask & TBIF_TEXT) {
> -     if ((btnPtr->iString >= 0) || (btnPtr->iString < infoPtr->nNumStrings))
                                  ^^^^
I think this is the real bug. Could you test if changing this to '&&'
fixes your problem?

-- 
Alexandre Julliard
[EMAIL PROTECTED]

Reply via email to