summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 77992b5)
raw | patch | inline | side by side (parent: 77992b5)
author | Kalle Wallin <kaw@linux.se> | |
Sun, 28 Mar 2004 14:53:22 +0000 (14:53 +0000) | ||
committer | Kalle Wallin <kaw@linux.se> | |
Sun, 28 Mar 2004 14:53:22 +0000 (14:53 +0000) |
screen.c | patch | blob | history |
diff --git a/screen.c b/screen.c
index 7e3e51d7ffdaf9e473e30d485d73926e3ffc7e56..8d14376ff95c5650950f32023e1b7c605b68c0f8 100644 (file)
--- a/screen.c
+++ b/screen.c
paint_top_window(char *header, int volume, int clear)
{
static int prev_volume = -1;
+ static int prev_header_len = -1;
WINDOW *w = screen->top_window.w;
+ if(prev_header_len!=strlen(header))
+ {
+ prev_header_len = strlen(header);
+ clear = 1;
+ }
+
if(clear)
{
wclear(w);