gallium: Fix broken logic.

This commit is contained in:
José Fonseca 2008-03-19 20:46:08 +00:00
parent b4f03d0c98
commit df5ba799fa
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ handle_table_get_next_handle(struct handle_table *ht,
unsigned index;
for(index = handle; index < ht->size; ++index) {
if(!ht->objects[index])
if(ht->objects[index])
return index + 1;
}