X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=help.c;h=4bd1b01127343018d51e62be854dab6b64baaeb7;hp=67d8855dae8461236b70f9937c26e34bc66e4dff;hb=230399f9632c37b66c1c117a17e8327eae6b3235;hpb=711f787502b6a1a1c150b948a5ed9156c8ef9ba1 diff --git a/help.c b/help.c index 67d8855..4bd1b01 100644 --- a/help.c +++ b/help.c @@ -18,10 +18,7 @@ #include #include -#include -#include -#include -#include +#include #include @@ -98,10 +95,10 @@ static int print_macro (FILE * f, int maxwidth, const char **macro) *macro += k, len -= k) { if (k == -1 || k == -2) { k = (k == -1) ? 1 : len; - wc = replacement_char (); + wc = CharsetReplacement; } /* glibc-2.1.3's wcwidth() returns 1 for unprintable chars! */ - if (IsWPrint (wc) && (w = wcwidth (wc)) >= 0) { + if (iswprint(wc) && (w = wcwidth (wc)) >= 0) { if (w > n) break; n -= w;