diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-02-02 23:07:25 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-02-02 23:07:25 +0000 |
commit | 6ac5429d3b0860919333e38f1eb5b5617bf17314 (patch) | |
tree | be466b5e7e9fc86107ff437c7346f528b325021d /src/hashtable.c | |
parent | 748bf0374b1dd63e7e3157237185030c47ae0c2c (diff) |
updated for version 7.0047
Diffstat (limited to 'src/hashtable.c')
-rw-r--r-- | src/hashtable.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hashtable.c b/src/hashtable.c index e6651e38ee..ad1163c4e6 100644 --- a/src/hashtable.c +++ b/src/hashtable.c @@ -31,7 +31,7 @@ #if defined(FEAT_EVAL) || defined(FEAT_SYN_HL) || defined(PROTO) -#if 1 +#if 0 # define HT_DEBUG /* extra checks for table consistency */ #endif @@ -360,7 +360,7 @@ hash_may_resize(ht) newmask = newsize - 1; todo = ht->ht_used; for (olditem = oldarray; todo > 0; ++olditem) - if (olditem->hi_key != NULL && olditem->hi_key != HI_KEY_REMOVED) + if (!HASHITEM_EMPTY(olditem)) { /* * The algorithm to find the spot to add the item is identical to |