1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-02-05 13:38:33 +00:00

Fix $scroll only scrolls once

This commit is contained in:
Nikolas Garofil 2009-11-09 02:38:20 +01:00
parent e292dd5e28
commit 7025477402

View File

@ -110,7 +110,7 @@ void print_scroll(struct text_object *obj, char *p, int p_max_size, struct infor
visibcolorchanges++; visibcolorchanges++;
} }
//if there is still room fill it with spaces //if there is still room fill it with spaces
if( ! p[j]) return; if( ! p[j]) break;
} }
for(; j < sd->show + visibcolorchanges; j++) { for(; j < sd->show + visibcolorchanges; j++) {
p[j] = ' '; p[j] = ' ';