Mercurial > mplayer.hg
diff libass/ass_cache.c @ 23214:bb2f626c72a4
Fix stupid bug in r23229.
author | eugeni |
---|---|
date | Thu, 03 May 2007 19:47:34 +0000 |
parents | d9b4bfea1093 |
children | 0f892cd714b2 |
line wrap: on
line diff
--- 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); }