Mikołaj Zalewski : comctl32: rebar: Don' t assume the first band is visible.

Alexandre Julliard julliard at winehq.org
Thu Feb 28 06:21:36 CST 2008


Module: wine
Branch: master
Commit: 23b0085a25a1b2872f5c27a4379c3eb5a0d8db38
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=23b0085a25a1b2872f5c27a4379c3eb5a0d8db38

Author: Mikołaj Zalewski <mikolaj at zalewski.pl>
Date:   Wed Feb 27 18:20:12 2008 +0100

comctl32: rebar: Don't assume the first band is visible.

The code required that a row started with a visible band. However this
was not met if the first band of the rebar was hidden. The new code
should fix this case. I've also made it explicit in the comments that
the functions require the first band to be visible and renamed
next_band, prev_band to next_visible and prev_visible to make it clear
what these functions do.

---

 dlls/comctl32/rebar.c |   87 ++++++++++++++++++++++++++++++++++--------------
 1 files changed, 61 insertions(+), 26 deletions(-)

Diff:   http://source.winehq.org/git/wine.git/?a=commitdiff;h=23b0085a25a1b2872f5c27a4379c3eb5a0d8db38



More information about the wine-cvs mailing list