projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
simplifications
[apps/madmutt.git]
/
help.c
diff --git
a/help.c
b/help.c
index
a0d85c8
..
0fa80c1
100644
(file)
--- a/
help.c
+++ b/
help.c
@@
-9,19
+9,7
@@
#define HELP_C
#define HELP_C
-#if HAVE_CONFIG_H
-# include "config.h"
-#endif
-
-#include <wctype.h>
-#include <wchar.h>
-#include <ctype.h>
-#include <string.h>
-
-#include <lib-lib/macros.h>
-#include <lib-lib/file.h>
-#include <lib-lib/str.h>
-#include <lib-lib/mapping.h>
+#include <lib-lib/lib-lib.h>
#include <lib-ui/curses.h>
#include <lib-ui/curses.h>
@@
-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! */
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;
if (w > n)
break;
n -= w;