projects
/
monky
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e292dd5
)
Fix $scroll only scrolls once
author
Nikolas Garofil
<garo@dunaldi.garofil.be>
Mon, 9 Nov 2009 01:38:20 +0000
(
02:38
+0100)
committer
Nikolas Garofil
<garo@dunaldi.garofil.be>
Mon, 9 Nov 2009 01:38:20 +0000
(
02:38
+0100)
src/scroll.c
patch
|
blob
|
history
diff --git
a/src/scroll.c
b/src/scroll.c
index
6d10cd7
..
fdef84f
100644
(file)
--- 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] = ' ';