From 15dbc768a552f5174326e27ba288defa99b20f05 Mon Sep 17 00:00:00 2001 From: Thomas Jansen Date: Thu, 29 Oct 2009 20:52:29 +0100 Subject: [PATCH] list_window: removed unnecessary reverse wattroff In all callback functions row_color is used to initialize the reverse attribute for each new line. No need to switch it off explicitly in between. --- src/list_window.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/list_window.c b/src/list_window.c index 23e478f..822805c 100644 --- a/src/list_window.c +++ b/src/list_window.c @@ -398,9 +398,6 @@ list_window_paint2(const struct list_window *lw, paint_callback(lw->w, lw->start + i, i, lw->cols, selected, callback_data); - - if (selected) - wattroff(lw->w, A_REVERSE); } if (options.hardware_cursor && lw->selected >= lw->start && -- 2.30.2