Code

Use wattroff after painting the top line.
authorKalle Wallin <kaw@linux.se>
Fri, 23 Apr 2004 17:21:49 +0000 (17:21 +0000)
committerKalle Wallin <kaw@linux.se>
Fri, 23 Apr 2004 17:21:49 +0000 (17:21 +0000)
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@881 09075e82-0dd4-0310-85a5-a0d7c8717e4f

ChangeLog
screen.c

index 330406d1c8636cf1a06db6a18ff3d9cbe12bc901..93003876424ce70c494b9276f876fe49cfa56e4e 100644 (file)
--- 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 
index 0524b0d82ab0d4fb5b7e853410565b81d114ae06..87909665037b18c868eeb1da2ab7246a4b7af2b3 100644 (file)
--- 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);
     }
 }