diff options
Diffstat (limited to 'CHARSET/LOCALENC.C')
-rw-r--r-- | CHARSET/LOCALENC.C | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CHARSET/LOCALENC.C b/CHARSET/LOCALENC.C index 4aa4ae66..49719fbe 100644 --- a/CHARSET/LOCALENC.C +++ b/CHARSET/LOCALENC.C @@ -1,5 +1,5 @@ /* - * local.c - translate our internal character set codes to and from + * localenc.c - translate our internal character set codes to and from * our own set of plausibly legible character-set names. Also * provides a canonical name for each encoding (useful for software * announcing what character set it will be using), and a set of @@ -103,7 +103,7 @@ int charset_from_localenc(const char *name) p = name; q = localencs[i].name; while (*p || *q) { - if (tolower((unsigned char)*p) != tolower((unsigned char)*q)) + if (tolower((unsigned char)*p) != tolower((unsigned char)*q)) break; p++; q++; } |