Fixing compiling error in my last commit. *grumble*

This commit is contained in:
Martin Poirier
2007-12-02 19:42:08 +00:00
parent 71e4b3ce22
commit f915fc1071

View File

@@ -730,7 +730,7 @@ static void calc_text_rcts(SpaceText *st)
lbarstart= st->top;
lbarh= st->viewlines;
ltexth= txt_get_span(st->text->lines.first, st->text->lines.last) st->viewlines / 2 + 2;
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;