summaryrefslogtreecommitdiff
path: root/contrib/isn/isn.c
diff options
context:
space:
mode:
authorHeikki Linnakangas2017-02-06 09:33:58 +0000
committerHeikki Linnakangas2017-02-06 09:34:15 +0000
commit90e85992199469ca1191aadd3ab0222a158576be (patch)
treed2d936d1a7a5f0e04b96547b60af7d0ea7c4226b /contrib/isn/isn.c
parentb971a98cea988e03054077db613fc893564f7bf7 (diff)
Fix typos in comments.
Backpatch to all supported versions, where applicable, to make backpatching of future fixes go more smoothly. Josh Soref Discussion: https://www.postgresql.org/message-id/CACZqfqCf+5qRztLPgmmosr-B0Ye4srWzzw_mo4c_8_B_mtjmJQ@mail.gmail.com
Diffstat (limited to 'contrib/isn/isn.c')
-rw-r--r--contrib/isn/isn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/isn/isn.c b/contrib/isn/isn.c
index c622a4ef07f..f9639fd376a 100644
--- a/contrib/isn/isn.c
+++ b/contrib/isn/isn.c
@@ -160,7 +160,7 @@ dehyphenate(char *bufO, char *bufI)
* into bufO using the given hyphenation range TABLE.
* Assumes the input string to be used is of only digits.
*
- * Returns the number of characters acctually hyphenated.
+ * Returns the number of characters actually hyphenated.
*/
static unsigned
hyphenate(char *bufO, char *bufI, const char *(*TABLE)[2], const unsigned TABLE_index[10][2])
@@ -748,7 +748,7 @@ string2ean(const char *str, bool errorOK, ean13 *result,
}
else if (*aux2 == '!' && *(aux2 + 1) == '\0')
{
- /* the invalid check digit sufix was found, set it */
+ /* the invalid check digit suffix was found, set it */
if (!magic)
valid = false;
magic = true;