X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Fi18n.c;h=bc0db0b896426c094b305382141a6a3e69959cdb;hb=f790dbda9d498eef9c9c0a49078adbeecf768d56;hp=55b2d67fab0665a9605254964daf73c51bc7a7ba;hpb=76c790067446eb993f615813069936887fbb4fc8;p=pspp diff --git a/src/libpspp/i18n.c b/src/libpspp/i18n.c index 55b2d67fab..bc0db0b896 100644 --- a/src/libpspp/i18n.c +++ b/src/libpspp/i18n.c @@ -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) {