Mercurial > hg > xemacs-beta
diff src/hash.c @ 241:f955c73f5258 r20-5b19
Import from CVS: tag r20-5b19
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:16:16 +0200 |
parents | 3d6bfa290dbd |
children | 966663fcf606 |
line wrap: on
line diff
--- a/src/hash.c Mon Aug 13 10:15:49 2007 +0200 +++ b/src/hash.c Mon Aug 13 10:16:16 2007 +0200 @@ -453,12 +453,18 @@ hentry *limit; if (hash->zero_set) - ((*mf) (0, hash->zero_entry, arg)); + { + if (((*mf) (0, hash->zero_entry, arg))) + return; + } for (e = hash->harray, limit = e + hash->size; e < limit; e++) { if (e->key) - ((*mf) (e->key, e->contents, arg)); + { + if (((*mf) (e->key, e->contents, arg))) + return; + } } }