many simplifications, copyright statements.
[apps/madmutt.git] / help.c
diff --git a/help.c b/help.c
index 0199398..a0d85c8 100644 (file)
--- a/help.c
+++ b/help.c
@@ -26,6 +26,7 @@
 #include <lib-ui/curses.h>
 
 #include "mutt.h"
+#include "charset.h"
 #include "keymap.h"
 #include "pager.h"
 
@@ -97,7 +98,7 @@ 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) {