summaryrefslogtreecommitdiffstats
path: root/charset.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2000-06-09 05:51:33 +0000
committerThomas Roessler <roessler@does-not-exist.org>2000-06-09 05:51:33 +0000
commit22f6f6df23a8ca711ede489419a554cf647666f3 (patch)
tree8d2737a30823fe778c7a1527760f00a0626be48d /charset.c
parente32ba70b99b694472ce0a18e482119928c99e8c5 (diff)
Fix some typos in the nl_langinfo stuff.
Diffstat (limited to 'charset.c')
-rw-r--r--charset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/charset.c b/charset.c
index 90088d02..0eed0533 100644
--- a/charset.c
+++ b/charset.c
@@ -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 */