X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=help.c;h=0fa80c180f39b69d2e71082a68edfaf5ba46365a;hp=67d8855dae8461236b70f9937c26e34bc66e4dff;hb=74697a5c38af6a85ce3b0062d781c35814a9f536;hpb=711f787502b6a1a1c150b948a5ed9156c8ef9ba1 diff --git a/help.c b/help.c index 67d8855..0fa80c1 100644 --- a/help.c +++ b/help.c @@ -9,19 +9,7 @@ #define HELP_C -#if HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include -#include -#include - -#include -#include -#include -#include +#include #include @@ -98,10 +86,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;