From: Pierre Habouzit Date: Sat, 11 Aug 2007 09:45:49 +0000 (+0200) Subject: minor fixes X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=commitdiff_plain;h=97f17c26238531632e990b1247a4b09ef6697949 minor fixes Signed-off-by: Pierre Habouzit --- diff --git a/lib-ui/color.c b/lib-ui/color.c index 584c113..87a8042 100644 --- a/lib-ui/color.c +++ b/lib-ui/color.c @@ -602,10 +602,8 @@ _mutt_parse_color (BUFFER * buf, BUFFER * s, BUFFER * err, else ColorDefs[object] = fgbgattr_to_color (fg, bg, attr); -#ifdef HAVE_BKGDSET if (object == MT_COLOR_NORMAL && !option (OPTNOCURSES) && has_colors ()) BKGDSET (MT_COLOR_NORMAL); -#endif return (r); } diff --git a/pager.c b/pager.c index 5f93d96..78c13a9 100644 --- a/pager.c +++ b/pager.c @@ -1246,9 +1246,7 @@ display_line (FILE * f, off_t *last_pos, struct line_t **lineInfo, int n, def_color = ColorDefs[(*lineInfo)[m].type]; attrset (def_color); -#ifdef HAVE_BKGDSET bkgdset (def_color | ' '); -#endif } addch ('\n');