projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
not having wide chars is soooo 90, please, I *really* don't care with
[apps/madmutt.git]
/
help.c
diff --git
a/help.c
b/help.c
index
f01bbea
..
627f4c2
100644
(file)
--- a/
help.c
+++ b/
help.c
@@
-13,19
+13,21
@@
# include "config.h"
#endif
# 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/macros.h>
#include <lib-lib/file.h>
#include <lib-lib/str.h>
+#include <lib-lib/mapping.h>
+
+#include <lib-ui/curses.h>
#include "mutt.h"
#include "mutt.h"
-#include "mutt_curses.h"
#include "keymap.h"
#include "pager.h"
#include "keymap.h"
#include "pager.h"
-#include "mapping.h"
-
-#include <wchar.h>
-#include <ctype.h>
-#include <string.h>
static struct binding_t *help_lookupFunction (int op, int menu)
{
static struct binding_t *help_lookupFunction (int op, int menu)
{
@@
-200,7
+202,7
@@
static void format_line (FILE * f, int ismacro,
n = COLS - col;
if (ismacro >= 0) {
n = COLS - col;
if (ismacro >= 0) {
-
SKIPWS
(t3);
+
t3 = vskipspaces
(t3);
/* FIXME: this is completely wrong */
if ((n = m_strlen(t3)) > COLS - col) {
/* FIXME: this is completely wrong */
if ((n = m_strlen(t3)) > COLS - col) {