X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=remailer.c;h=1118345f8b3700f52084a23ca73d5e37f59884c6;hb=8e39affbf1cd8a2a5ff5c9991650d54fdcea4997;hp=137e5a40089230ca312d989d0ce306b1584cb2a8;hpb=dd5354f76c36f71044f6ddeee61241691c7195ff;p=apps%2Fmadmutt.git diff --git a/remailer.c b/remailer.c index 137e5a4..1118345 100644 --- a/remailer.c +++ b/remailer.c @@ -255,11 +255,11 @@ static void mix_redraw_ce (remailer_t ** type2_list, else SETCOLOR (MT_COLOR_NORMAL); - mvaddstr (coords[i].r, coords[i].c, type2_list[chain->ch[i]]->shortname); + mvwaddstr (stdscr, coords[i].r, coords[i].c, type2_list[chain->ch[i]]->shortname); SETCOLOR (MT_COLOR_NORMAL); if (i + 1 < chain->cl) - addstr (", "); + waddstr (stdscr, ", "); } } @@ -272,8 +272,8 @@ static void mix_redraw_chain (remailer_t ** type2_list, BKGDSET (MT_COLOR_NORMAL); for (i = MIX_VOFFSET; i < MIX_MAXROW; i++) { - move (i, 0); - clrtoeol (); + wmove (stdscr, i, 0); + wclrtoeol (stdscr); } for (i = 0; i < chain->cl; i++) @@ -283,11 +283,11 @@ static void mix_redraw_chain (remailer_t ** type2_list, static void mix_redraw_head (mixchain_t * chain) { SETCOLOR (MT_COLOR_STATUS); - mvprintw (MIX_VOFFSET - 1, 0, "-- Remailer chain [Length: %d]", + mvwprintw (stdscr, MIX_VOFFSET - 1, 0, "-- Remailer chain [Length: %d]", chain ? chain->cl : 0); BKGDSET (MT_COLOR_STATUS); - clrtoeol (); + wclrtoeol (stdscr); BKGDSET (MT_COLOR_NORMAL); SETCOLOR (MT_COLOR_NORMAL);