diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 2000-06-09 05:51:33 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 2000-06-09 05:51:33 +0000 |
commit | 22f6f6df23a8ca711ede489419a554cf647666f3 (patch) | |
tree | 8d2737a30823fe778c7a1527760f00a0626be48d /charset.c | |
parent | e32ba70b99b694472ce0a18e482119928c99e8c5 (diff) |
Fix some typos in the nl_langinfo stuff.
Diffstat (limited to 'charset.c')
-rw-r--r-- | charset.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -61,7 +61,7 @@ void mutt_set_langinfo_charset (void) /* compactify the character set name returned */ for (d = s = buff; *s; s++) { - if (!strstr ("-_.", *s)) + if (!strchr ("-_.", *s)) *d++ = *s; } *d = '\0'; @@ -79,7 +79,7 @@ void mutt_set_langinfo_charset (void) } else if (!strncasecmp (buff, "windows", 7)) { - snprintf (buff2, sizeof (buff2), "windows-%s" buff + 7); + snprintf (buff2, sizeof (buff2), "windows-%s", buff + 7); } /* fix the spelling */ |