summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaromil <jaromil@dyne.org>2008-11-07 13:02:31 (GMT)
committer Jaromil <jaromil@dyne.org>2008-11-07 13:02:31 (GMT)
commitcff07db860c624062d8e51576975f8c5d6e69c2e (patch)
tree7b9bc75ffa649ee30a84cdc4d4000120b4ff77c8
parent1a8e7ebde97d9b110aae3b60cb6968632af7e7dd (diff)
blank first line when scrolling
-rw-r--r--slw/slw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/slw/slw.cpp b/slw/slw.cpp
index e081766..22755c0 100644
--- a/slw/slw.cpp
+++ b/slw/slw.cpp
@@ -187,7 +187,7 @@ void SLangWidget::blank_row(int y) {
void SLangWidget::blank() {
register int c;
- for(c=h;c>0;c--) {
+ for(c=h;c>=0;c--) {
SLsmg_gotorc( c+orig_y,orig_x);
SLsmg_write_nchars( blankrow, w);
}