changeset 23214:bb2f626c72a4

Fix stupid bug in r23229.
author eugeni
date Thu, 03 May 2007 19:47:34 +0000
parents 5ea241439d5a
children c52636be7c4b
files libass/ass_cache.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);
 	}