X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Fcheck_charset.c;h=cba270d06dfcc6e7e481a25ec43379f4bc705fff;hp=e6debc2326c2af263610a5d9f64519754955c7ea;hb=ced6090a330d3d83d0bce709f756aa3d7d65fea4;hpb=337338b404931f06f0db2119c9e145e8ca5a9860 diff --git a/sbr/check_charset.c b/sbr/check_charset.c index e6debc2..cba270d 100644 --- a/sbr/check_charset.c +++ b/sbr/check_charset.c @@ -1,10 +1,10 @@ /* - * check_charset.c -- routines for character sets - * - * This code is Copyright (c) 2002, by the authors of nmh. See the - * COPYRIGHT file in the root directory of the nmh distribution for - * complete copyright information. - */ +** check_charset.c -- routines for character sets +** +** This code is Copyright (c) 2002, by the authors of nmh. See the +** COPYRIGHT file in the root directory of the nmh distribution for +** complete copyright information. +*/ #include #ifdef HAVE_LANGINFO_H @@ -13,8 +13,8 @@ /* - * Get the current character set - */ +** Get the current character set +*/ char * get_charset () { @@ -28,11 +28,11 @@ get_charset () /* - * Check if we can display a given character set natively. - * We are passed the length of the initial part of the - * string to check, since we want to allow the name of the - * character set to be a substring of a larger string. - */ +** Check if we can display a given character set natively. +** We are passed the length of the initial part of the +** string to check, since we want to allow the name of the +** character set to be a substring of a larger string. +*/ int check_charset (char *str, int len) @@ -67,18 +67,18 @@ check_charset (char *str, int len) /* - * Return the name of the character set we are - * using for 8bit text. - */ +** Return the name of the character set we are +** using for 8bit text. +*/ char * write_charset_8bit (void) { static char *mm_charset = NULL; /* - * Cache the name of the character set to - * use for 8bit text. - */ + ** Cache the name of the character set to + ** use for 8bit text. + */ if (!mm_charset && !(mm_charset = get_charset ())) mm_charset = "x-unknown";