X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-ui%2Fenter.c;h=7fb61cc20320bc1a05d6c9c56837f0cbc414528d;hp=dcd5bcf85eb2ed50361fd45639e24c09d6f0377a;hb=83170cc0ea7b56b7ffe3b311b6b7d831393e7524;hpb=8e39affbf1cd8a2a5ff5c9991650d54fdcea4997 diff --git a/lib-ui/enter.c b/lib-ui/enter.c index dcd5bcf..7fb61cc 100644 --- a/lib-ui/enter.c +++ b/lib-ui/enter.c @@ -8,9 +8,8 @@ * please see the file GPL in the top level source directory. */ -#include +#include -#include "curses.h" #include "enter.h" #include "menu.h" @@ -56,7 +55,7 @@ static int my_addwch (wchar_t wc) int n = wcwidth (wc); if (iswprint(wc) && n > 0) - return mutt_addwch (wc); + return waddwch(stdscr, wc); if (!(wc & ~0x7f)) return wprintw (stdscr, "^%c", ((int) wc + 0x40) & 0x7f); if (!(wc & ~0xffff))