comctl32: Fixed RBBS_BREAK flag unsetting in REBAR_HandleUDDrag.

This commit is contained in:
Piotr Caban 2012-11-01 15:28:18 +01:00 committed by Alexandre Julliard
parent d2f4893cb6
commit b6b7eb050f
1 changed files with 1 additions and 1 deletions

View File

@ -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);