* slight code style fix, but that file would need a complete cleanup to be

style compliant...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22369 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2007-09-29 12:55:19 +00:00
parent ded80ae491
commit 917870d2ba
+18 -24
View File
@@ -1104,34 +1104,28 @@ BRegion::Support::miRegionOp(
*-----------------------------------------------------------------------
*/
int
BRegion::Support::miUnionNonO (
register BRegion* pReg,
register clipping_rect* r,
clipping_rect* rEnd,
register int top,
register int bottom)
BRegion::Support::miUnionNonO(register BRegion* pReg,
register clipping_rect* r, clipping_rect* rEnd,
register int top, register int bottom)
{
register clipping_rect* pNextRect;
register clipping_rect* pNextRect = &pReg->fData[pReg->fCount];
pNextRect = &pReg->fData[pReg->fCount];
assert(top < bottom);
assert(top < bottom);
while (r != rEnd) {
assert(r->left < r->right);
MEMCHECK(pReg, pNextRect, pReg->fData);
pNextRect->left = r->left;
pNextRect->top = top;
pNextRect->right = r->right;
pNextRect->bottom = bottom;
pReg->fCount += 1;
pNextRect++;
while (r != rEnd)
{
assert(r->left < r->right);
MEMCHECK(pReg, pNextRect, pReg->fData);
pNextRect->left = r->left;
pNextRect->top = top;
pNextRect->right = r->right;
pNextRect->bottom = bottom;
pReg->fCount += 1;
pNextRect++;
assert(pReg->fCount<=pReg->fDataSize);
r++;
}
return 0; /* lint */
assert(pReg->fCount<=pReg->fDataSize);
r++;
}
return 0;
}