From d94f6328d7a6ebd1becfb1629fe2c22aa2d92294 Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Tue, 27 Sep 2005 15:18:51 +0000 Subject: [PATCH] Clarified a TODO item, before I forget about it. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14255 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/RegionSupport.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/kits/interface/RegionSupport.cpp b/src/kits/interface/RegionSupport.cpp index b8a53c7a74..2771af1e71 100644 --- a/src/kits/interface/RegionSupport.cpp +++ b/src/kits/interface/RegionSupport.cpp @@ -567,8 +567,10 @@ BRegion::Support::ROr(long top, long bottom, const BRegion &first, if (foundCount > 1) SortTrans(lefts, rights, foundCount); -// TODO: This needs to be reviewed by BRegion owner. -// ASSERT(foundCount > 0); + // TODO: Make sure that OrRegionComplex() skips horizontal + // bands which don't contain any rectangle. Then we can + // uncomment the assertion here. + //ASSERT(foundCount > 0); if (foundCount == 0) return;