summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 17ab511)
raw | patch | inline | side by side (parent: 17ab511)
author | Thomas Jansen <mithi@mithi.net> | |
Thu, 29 Oct 2009 19:52:29 +0000 (20:52 +0100) | ||
committer | Thomas Jansen <mithi@mithi.net> | |
Thu, 29 Oct 2009 19:52:29 +0000 (20:52 +0100) |
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.
attribute for each new line. No need to switch it off explicitly in
between.
src/list_window.c | patch | blob | history |
diff --git a/src/list_window.c b/src/list_window.c
index 23e478f2d43f0855a1560b2bd30300b6e6787464..822805c9b186b7f3d6345ec3499ad04a76a38840 100644 (file)
--- a/src/list_window.c
+++ b/src/list_window.c
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 &&