Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Poirier <theeth@yahoo.com>2007-12-02 22:42:08 +0300
committerMartin Poirier <theeth@yahoo.com>2007-12-02 22:42:08 +0300
commitf915fc1071910629aa94e00e1a4598ea6c3e2dd1 (patch)
tree63adf10ff33a8fb8d06828dadcda6f65bf0af614 /source/blender/src/drawtext.c
parent71e4b3ce2256a2aea80d1728066f20756f6a438b (diff)
Fixing compiling error in my last commit. *grumble*
Diffstat (limited to 'source/blender/src/drawtext.c')
-rw-r--r--source/blender/src/drawtext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/drawtext.c b/source/blender/src/drawtext.c
index 7e2372131b6..99ce26d8f74 100644
--- a/source/blender/src/drawtext.c
+++ b/source/blender/src/drawtext.c
@@ -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;