Fixed wrong condition in assertion.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28275 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -68,7 +68,7 @@ CacheItem* Cache::Find(CIDescription* desc) {
|
||||
CacheItem* item = ItemAt(id);
|
||||
|
||||
// In 2. pass for each item an entry must exists
|
||||
ASSERT(fPass == 1 && item != NULL);
|
||||
ASSERT(fPass != 1 || item != NULL);
|
||||
if (fPass == 1) return item->Reference();
|
||||
|
||||
// In 1. pass we create an entry for each bitmap
|
||||
|
||||
Reference in New Issue
Block a user