Joel Holdsworth : comctl32/rebar: Removed a redundant call.

Alexandre Julliard julliard at winehq.org
Mon Jan 10 10:55:21 CST 2011


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

Author: Joel Holdsworth <joel at airwebreathe.org.uk>
Date:   Sun Jan  9 09:40:08 2011 +0000

comctl32/rebar: Removed a redundant call.

---

 dlls/comctl32/rebar.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/dlls/comctl32/rebar.c b/dlls/comctl32/rebar.c
index 8ecfee3..552c83c 100644
--- a/dlls/comctl32/rebar.c
+++ b/dlls/comctl32/rebar.c
@@ -1180,8 +1180,6 @@ static void REBAR_SetRowRectsX(const REBAR_INFO *infoPtr, INT iBeginBand, INT iE
     for (i = iBeginBand; i < iEndBand; i = next_visible(infoPtr, i))
     {
         REBAR_BAND *lpBand = REBAR_GetBand(infoPtr, i);
-
-        lpBand = REBAR_GetBand(infoPtr, i);
         if (lpBand->rcBand.left != xPos || lpBand->rcBand.right != xPos + lpBand->cxEffective) {
             lpBand->fDraw |= NTF_INVALIDATE;
             TRACE("Setting rect %d to %d,%d\n", i, xPos, xPos + lpBand->cxEffective);




More information about the wine-cvs mailing list