From b1085c6816c093409c745a41567c8c3009917e27 Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Wed, 4 Jan 2017 20:06:57 +0100 Subject: Fix typos. --- source/fitz/hash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/fitz/hash.c') diff --git a/source/fitz/hash.c b/source/fitz/hash.c index 7e4f49f1..fe6ae6f8 100644 --- a/source/fitz/hash.c +++ b/source/fitz/hash.c @@ -3,7 +3,7 @@ /* Simple hashtable with open addressing linear probe. Unlike text book examples, removing entries works -correctly in this implementation, so it wont start +correctly in this implementation, so it won't start exhibiting bad behaviour if entries are inserted and removed frequently. */ @@ -117,7 +117,7 @@ do_hash_insert(fz_context *ctx, fz_hash_table *table, const void *key, void *val if (memcmp(key, ents[pos].key, table->keylen) == 0) { - /* This is legal, but should happen rarely. */ + /* This is legal, but should rarely happen. */ fz_warn(ctx, "assert: overwrite hash slot"); return ents[pos].val; } -- cgit v1.2.3