summaryrefslogtreecommitdiffstats
path: root/help.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2000-05-12 10:20:40 +0000
committerThomas Roessler <roessler@does-not-exist.org>2000-05-12 10:20:40 +0000
commita3f23a32f1f781c5be559712b2dfbe584a510e58 (patch)
treed61443b33effe7135091a61e0eff8df499689c76 /help.c
parent507c87642d8a1a9327464e010beebcabe2da7a5d (diff)
wide-character related patches. From Edmund Grimley Evans.
Diffstat (limited to 'help.c')
-rw-r--r--help.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/help.c b/help.c
index 52ee3cb3..9c5a8eb8 100644
--- a/help.c
+++ b/help.c
@@ -92,16 +92,16 @@ static int print_macro (FILE *f, int maxwidth, const char **macro)
for (;;)
{
- if ((k = mutt_mbtowc (&wc, *macro, -1)) <= 0)
+ if ((k = mbtowc (&wc, *macro, -1)) <= 0)
break;
- if ((w = mutt_wcwidth (wc)) >= 0)
+ if ((w = wcwidth (wc)) >= 0)
{
if (w > n)
break;
n -= w;
{
char tb[7];
- int m = mutt_wctomb (tb, wc);
+ int m = wctomb (tb, wc);
if (0 < m && m < 7)
tb[m] = '\0', fprintf (f, "%s", tb);
}