summaryrefslogtreecommitdiff
path: root/fitz
diff options
context:
space:
mode:
Diffstat (limited to 'fitz')
-rw-r--r--fitz/base_hash.c4
-rw-r--r--fitz/filt_faxd.c2
-rw-r--r--fitz/fitz.h2
-rw-r--r--fitz/memento.h4
4 files changed, 6 insertions, 6 deletions
diff --git a/fitz/base_hash.c b/fitz/base_hash.c
index 02acc8f1..2cbd9f4b 100644
--- a/fitz/base_hash.c
+++ b/fitz/base_hash.c
@@ -1,7 +1,7 @@
#include "fitz.h"
/*
-Simple hashtable with open adressing linear probe.
+Simple hashtable with open addressing linear probe.
Unlike text book examples, removing entries works
correctly in this implementation, so it wont start
exhibiting bad behaviour if entries are inserted
@@ -194,7 +194,7 @@ fz_hash_remove(fz_hash_table *table, void *key)
{
if (!ents[pos].val)
{
- fz_warn(table->ctx, "assert: remove inexistant hash entry");
+ fz_warn(table->ctx, "assert: remove inexistent hash entry");
return;
}
diff --git a/fitz/filt_faxd.c b/fitz/filt_faxd.c
index 0a2426d0..927bf4c4 100644
--- a/fitz/filt_faxd.c
+++ b/fitz/filt_faxd.c
@@ -152,7 +152,7 @@ const cfd_node cf_2d_decode[] = {
{-1,0},{-1,0},{-1,0},{-1,0},{-1,0},{-1,0},{-1,0},{-1,0},{-3,3}
};
-/* Uncompresssed decoding table. */
+/* Uncompressed decoding table. */
const cfd_node cf_uncompressed_decode[] = {
{64,12},{5,6},{4,5},{4,5},{3,4},{3,4},{3,4},{3,4},{2,3},{2,3},
{2,3},{2,3},{2,3},{2,3},{2,3},{2,3},{1,2},{1,2},{1,2},{1,2},{1,2},
diff --git a/fitz/fitz.h b/fitz/fitz.h
index 7788ffd6..1f971cd3 100644
--- a/fitz/fitz.h
+++ b/fitz/fitz.h
@@ -192,7 +192,7 @@ void fz_var_imp(void *);
* }
*
* 3) The macros are implemented using setjmp and longjmp, and so the standard
- * C restrictions on the use of those functions apply to fz_try/fa_catch
+ * C restrictions on the use of those functions apply to fz_try/fz_catch
* too. In particular, any "truly local" variable that is set between the
* start of fz_try and something in fz_try throwing an exception may become
* undefined as part of the process of throwing that exception.
diff --git a/fitz/memento.h b/fitz/memento.h
index b5953fe8..e4b7778f 100644
--- a/fitz/memento.h
+++ b/fitz/memento.h
@@ -15,7 +15,7 @@
*
* Usage:
* First, build your project with MEMENTO defined, and include this
- * header file whereever you use malloc, realloc or free.
+ * header file wherever you use malloc, realloc or free.
* This header file will use macros to point malloc, realloc and free to
* point to Memento_malloc, Memento_realloc, Memento_free.
*
@@ -58,7 +58,7 @@
* the the code will wait until it reaches that event and then start
* checking the heap after every allocation event. Assuming it is a
* deterministic failure, you should then find out where in your program
- * the error is occuring (between event x-1 and event x).
+ * the error is occurring (between event x-1 and event x).
*
* Then you can rerun the program again, and call
* Memento_breakAt(int event); and the program will call