Fix some typos (found by codespell)
[pspp] / src / libpspp / i18n.c
index 55b2d67fab0665a9605254964daf73c51bc7a7ba..bc0db0b896426c094b305382141a6a3e69959cdb 100644 (file)
@@ -120,7 +120,7 @@ create_iconv (const char* tocode, const char* fromcode)
       free (soutbuf);
       iconv_close (bconv);
     }
-  
+
   hmapx_insert (&map, converter, hash);
 
   return converter;
@@ -242,7 +242,7 @@ try_recode (struct converter *cvtr, char fallbackchar,
 
   for (i = 0 ; i < null_bytes ; ++i)
     *out++ = '\0';
-  
+
   return out - 1 - out_;
 }
 
@@ -667,7 +667,7 @@ set_default_encoding (const char *enc)
 
 
 /* Attempts to set the encoding from a locale name
-   returns true if successfull.
+   returns true if successful.
    This function does not (should not!) alter the current locale.
 */
 bool
@@ -747,7 +747,7 @@ valid_encoding (const char *enc)
 
 
 /* Return the system local's idea of the
-   decimal seperator character */
+   decimal separator character */
 char
 get_system_decimal (void)
 {