From af52f24fe486bf045113cfcc0bd4def8ea5ac00a Mon Sep 17 00:00:00 2001 From: Martin Poirier Date: Mon, 8 Dec 2008 00:40:27 +0000 Subject: [PATCH] fixing compile error --- source/blender/editors/interface/view2d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/editors/interface/view2d.c b/source/blender/editors/interface/view2d.c index a020bc551af..379716a03db 100644 --- a/source/blender/editors/interface/view2d.c +++ b/source/blender/editors/interface/view2d.c @@ -790,7 +790,7 @@ View2DScrollers *UI_view2d_scrollers_calc(const bContext *C, View2D *v2d, short fac= (v2d->cur.ymin- v2d->tot.ymin) / totsize; scrollers->vert_min= vert.ymin + (fac * scrollsize); - fac= (v2d->cur.ymax - v2d->tot.ymin) / totsize;= + fac= (v2d->cur.ymax - v2d->tot.ymin) / totsize; scrollers->vert_max= vert.ymin + (fac * scrollsize); if (scrollers->vert_min > scrollers->vert_max)