Index: drawtext.c =================================================================== --- drawtext.c (revision 12730) +++ drawtext.c (working copy) @@ -730,7 +730,7 @@ lbarstart= st->top; lbarh= st->viewlines; - ltexth= txt_get_span(st->text->lines.first, st->text->lines.last)+1; + ltexth= txt_get_span(st->text->lines.first, st->text->lines.last) + st->viewlines / 2 + 2; barheight= (lbarh*(curarea->winy-4))/ltexth; if (barheight<20) barheight=20;