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:
Michael Pfeiffer
2008-10-22 04:18:52 +00:00
parent 369ad66d92
commit 380699bf25
@@ -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