Changeset 2291:6a168f6d31af for charset.c
Legend:
- Unmodified
- Added
- Removed
-
charset.c
r2290 r2291 223 223 224 224 /* catch some common iso-8859-something misspellings */ 225 if (!mutt_strncasecmp (name, "iso8859", 7) && name[7] != '-') 225 if (!mutt_strncasecmp (name, "8859", 4) && name[4] != '-') 226 snprintf (scratch, sizeof (scratch), "iso-8859-%s", name +4); 227 else if (!mutt_strncasecmp (name, "8859-", 5)) 228 snprintf (scratch, sizeof (scratch), "iso-8859-%s", name + 5); 229 else if (!mutt_strncasecmp (name, "iso8859", 7) && name[7] != '-') 226 230 snprintf (scratch, sizeof (scratch), "iso_8859-%s", name + 7); 227 231 else if (!mutt_strncasecmp (name, "iso8859-", 8))
