diff src/spell.c @ 1087:c94bbf85eb16 v7.0.213

updated for version 7.0-213
author vimboss
date Thu, 08 Mar 2007 13:49:53 +0000
parents 316dad0565b8
children 184d2020d8f1
line wrap: on
line diff
--- a/src/spell.c
+++ b/src/spell.c
@@ -13094,7 +13094,10 @@ suggest_try_soundalike_finish()
 		    vim_free(HI2SFT(hi));
 		    --todo;
 		}
+
+	    /* Clear the hashtable, it may also be used by another region. */
 	    hash_clear(&slang->sl_sounddone);
+	    hash_init(&slang->sl_sounddone);
 	}
     }
 }