# HG changeset patch # User eugeni # Date 1178221654 0 # Node ID bb2f626c72a4c22eff117cdacfd2aaa5e35eeee1 # Parent 5ea241439d5a3990a15bf53d2b957c6385bd2889 Fix stupid bug in r23229. diff -r 5ea241439d5a -r bb2f626c72a4 libass/ass_cache.c --- a/libass/ass_cache.c Thu May 03 19:33:35 2007 +0000 +++ b/libass/ass_cache.c Thu May 03 19:47:34 2007 +0000 @@ -136,7 +136,7 @@ hashmap_item_t** next = map->root + (hash % map->nbuckets); while (*next) { if (map->key_compare(key, (*next)->key, map->key_size)) - return; + return (*next)->value; next = &((*next)->next); assert(next); }