summaryrefslogtreecommitdiff
path: root/contrib/fuzzystrmatch/fuzzystrmatch.c
diff options
context:
space:
mode:
authorTom Lane2003-03-10 22:28:22 +0000
committerTom Lane2003-03-10 22:28:22 +0000
commite4704001ea4c3d63b53e8783859ff598ef2f69e5 (patch)
tree56d282d342ead04fc43af4efc5a2eccffa3e27ed /contrib/fuzzystrmatch/fuzzystrmatch.c
parent081fa240a119b67e28227439a3bf700340442787 (diff)
This patch fixes a bunch of spelling mistakes in comments throughout the
PostgreSQL source code. Neil Conway
Diffstat (limited to 'contrib/fuzzystrmatch/fuzzystrmatch.c')
-rw-r--r--contrib/fuzzystrmatch/fuzzystrmatch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/fuzzystrmatch/fuzzystrmatch.c b/contrib/fuzzystrmatch/fuzzystrmatch.c
index fbb16f66b33..0358fb2b66b 100644
--- a/contrib/fuzzystrmatch/fuzzystrmatch.c
+++ b/contrib/fuzzystrmatch/fuzzystrmatch.c
@@ -76,7 +76,7 @@ levenshtein(PG_FUNCTION_ARGS)
/*
* Restrict the length of the strings being compared to something
* reasonable because we will have to perform rows * cols
- * calcualtions. If longer strings need to be compared, increase
+ * calculations. If longer strings need to be compared, increase
* MAX_LEVENSHTEIN_STRLEN to suit (but within your tolerance for speed
* and memory usage).
*/
@@ -250,7 +250,7 @@ metaphone(PG_FUNCTION_ARGS)
*------------------------------------------------------------------*/
/* I suppose I could have been using a character pointer instead of
- * accesssing the array directly... */
+ * accessing the array directly... */
/* Look at the next letter in the word */
#define Next_Letter (toupper((unsigned char) word[w_idx+1]))
@@ -421,7 +421,7 @@ _metaphone(
w_idx++)
{
/*
- * How many letters to skip because an eariler encoding handled
+ * How many letters to skip because an earlier encoding handled
* multiple letters
*/
unsigned short int skip_letter = 0;