Tracker: fix build with DEBUG=1
Change-Id: Ieaaf23b0780f50837153634ad3e82eda6e5978f8 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5700 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
parent
2b9426c90a
commit
c907db6c62
@ -228,7 +228,7 @@ bool
|
||||
IconCacheEntry::IconHitTest(BPoint where, IconDrawMode mode,
|
||||
BSize size) const
|
||||
{
|
||||
ASSERT(where.x < size && where.y < size);
|
||||
ASSERT(where.x < size.width && where.y < size.height);
|
||||
BBitmap* bitmap = IconForMode(mode, size);
|
||||
if (bitmap == NULL)
|
||||
return false;
|
||||
|
@ -208,7 +208,7 @@ IconSpewer::DrawSomeNew()
|
||||
|
||||
IconCache::sIconCache->Draw(&model, view,
|
||||
BPoint(column * (kIconSize + 2), row * (kIconSize + 2)),
|
||||
kNormalIcon, kIconSize, true);
|
||||
kNormalIcon, BSize(kIconSize - 1, kIconSize - 1), true);
|
||||
target->Unlock();
|
||||
numDrawn++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user