From 7025477402fc9347f10045af968dd8cc1c573f04 Mon Sep 17 00:00:00 2001 From: Nikolas Garofil Date: Mon, 9 Nov 2009 02:38:20 +0100 Subject: [PATCH] Fix $scroll only scrolls once --- src/scroll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scroll.c b/src/scroll.c index 6d10cd7..fdef84f 100644 --- a/src/scroll.c +++ b/src/scroll.c @@ -110,7 +110,7 @@ void print_scroll(struct text_object *obj, char *p, int p_max_size, struct infor visibcolorchanges++; } //if there is still room fill it with spaces - if( ! p[j]) return; + if( ! p[j]) break; } for(; j < sd->show + visibcolorchanges; j++) { p[j] = ' '; -- 1.7.9.5