Fix another bad test. Caused regression in IE 4.

This commit is contained in:
Guy L. Albertelli 2002-02-26 00:34:48 +00:00 committed by Alexandre Julliard
parent 6a45c0b4b4
commit 9ce993206d
1 changed files with 3 additions and 1 deletions

View File

@ -93,6 +93,8 @@
* 18. Fix _AdjustBand processing of RBBS_FIXEDSIZE.
* rev 8c
* 19. Fix problem in _Layout when all lengths are 0.
* 20. If CLR_NONE specified, we will use default BtnFace color when drawing.
* 21. Fix test in REBAR_Layout.
*
*
* Still to do:
@ -1731,7 +1733,7 @@ REBAR_Layout (REBAR_INFO *infoPtr, LPRECT lpRect, BOOL notify, BOOL resetclient)
iband = infoPtr->rows[i-1].istartband;
lpBand = &infoPtr->bands[iband];
if(HIDDENBAND(lpBand)) continue;
if (!(lpBand->fMask & RBBS_VARIABLEHEIGHT)) continue;
if (lpBand->fMask & RBBS_VARIABLEHEIGHT) continue;
if (((INT)lpBand->cyMaxChild < 1) ||
((INT)lpBand->cyIntegral < 1)) {
if (lpBand->cyMaxChild + lpBand->cyIntegral == 0) continue;