Re: comctl32: Remove dead increments (clang)
26 Jul
2011
26 Jul
'11
7:27 p.m.
2011/7/26 André Hentschel <nerv(a)dawncrow.de>:
--- a/dlls/comctl32/rebar.c +++ b/dlls/comctl32/rebar.c @@ -1576,8 +1576,6 @@ REBAR_SizeToHeight(REBAR_INFO *infoPtr, int height) iRow++; } } - else - extra -= REBAR_SizeChildrenToHeight(infoPtr, first_visible(infoPtr), infoPtr->uNumBands, extra / infoPtr->uNumRows, &fChanged);
IIUC, this should not remove the |REBAR_SizeChildrenToHeight| call, only the |extra -=| bit as |REBAR_SizeChildrenToHeight| is updating the |infoPtr| output parameter. - Reece
5254
Age (days ago)
5254
Last active (days ago)
0 comments
1 participants
participants (1)
-
Reece Dunn