diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 2000-05-12 10:20:40 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 2000-05-12 10:20:40 +0000 |
commit | a3f23a32f1f781c5be559712b2dfbe584a510e58 (patch) | |
tree | d61443b33effe7135091a61e0eff8df499689c76 /help.c | |
parent | 507c87642d8a1a9327464e010beebcabe2da7a5d (diff) |
wide-character related patches. From Edmund Grimley Evans.
Diffstat (limited to 'help.c')
-rw-r--r-- | help.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); } |