X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=help.c;h=0fa80c180f39b69d2e71082a68edfaf5ba46365a;hp=a0d85c82e7e429080b238c5361de62f7572b0861;hb=74697a5c38af6a85ce3b0062d781c35814a9f536;hpb=fdb93a08e305b8755260144807e4d45106a9cb9f diff --git a/help.c b/help.c index a0d85c8..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 @@ -101,7 +89,7 @@ static int print_macro (FILE * f, int maxwidth, const char **macro) 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;