Piotr Caban : comctl32: Fixed RBBS_BREAK flag unsetting in REBAR_HandleUDDrag.

Alexandre Julliard julliard at winehq.org
Thu Nov 1 14:42:59 CDT 2012


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

Author: Piotr Caban <piotr at codeweavers.com>
Date:   Thu Nov  1 15:28:18 2012 +0100

comctl32: Fixed RBBS_BREAK flag unsetting in REBAR_HandleUDDrag.

---

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

diff --git a/dlls/comctl32/rebar.c b/dlls/comctl32/rebar.c
index 105363c..0ae69ef 100644
--- a/dlls/comctl32/rebar.c
+++ b/dlls/comctl32/rebar.c
@@ -2139,7 +2139,7 @@ REBAR_HandleUDDrag (REBAR_INFO *infoPtr, const POINT *ptsmove)
         if(iHitBand==0 && (infoPtr->uNumBands==1 || REBAR_GetBand(infoPtr, 1)->fStyle&RBBS_BREAK))
             return;
         DPA_DeletePtr(infoPtr->bands, iHitBand);
-        hitBand->fStyle &= RBBS_BREAK;
+        hitBand->fStyle &= ~RBBS_BREAK;
         REBAR_GetBand(infoPtr, 0)->fStyle |= RBBS_BREAK;
         infoPtr->iGrabbedBand = DPA_InsertPtr(
             infoPtr->bands, 0, hitBand);




More information about the wine-cvs mailing list