aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-04-23 17:21:49 +0000
committerKalle Wallin <kaw@linux.se>2004-04-23 17:21:49 +0000
commit4cb244b3c2cb81afeac53c4c9fcdce7d6c9051fb (patch)
treefd4232ec86b85f60a10098aaa86bbc00808a94db
parent4f3a3fc8fa9a55212a472f199675ee92d630ad68 (diff)
downloadmpd-4cb244b3c2cb81afeac53c4c9fcdce7d6c9051fb.tar.gz
mpd-4cb244b3c2cb81afeac53c4c9fcdce7d6c9051fb.tar.xz
mpd-4cb244b3c2cb81afeac53c4c9fcdce7d6c9051fb.zip
Use wattroff after painting the top line.
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@881 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r--ChangeLog4
-rw-r--r--screen.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 330406d1c..930038764 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2004-04-23 Kalle Wallin <kaw@linux.se>
* Updated Changelog, TODO, NEWS and the manual page.
+ * screen_play.c: Make shure the cursor stays on the same row when
+ deleting a playlist entry.
+ * screen.c: Turn off LINE_COLORS after drawing the top line.
+
2004-04-22 Kalle Wallin <kaw@linux.se>
* Added smart delete and add (#0000220), at the moment only used
diff --git a/screen.c b/screen.c
index 0524b0d82..879096650 100644
--- a/screen.c
+++ b/screen.c
@@ -175,6 +175,9 @@ paint_top_window(char *header, mpd_client_t *c, int clear)
mvwhline(w, 1, 0, ACS_HLINE, screen->top_window.cols);
#endif
+ if( options.enable_colors )
+ wattroff(w, LINE_COLORS);
+
wnoutrefresh(w);
}
}