From 4613d638a956a25830265c576cf7cf934d38eb93 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Wed, 26 Jan 2011 21:00:52 +0000 Subject: [PATCH] Fix #25818: Text Editor holizontal grab inverted Stupid typo. Maybe it's a result of merging two patches related to this part of code. --- source/blender/editors/space_text/text_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/editors/space_text/text_ops.c b/source/blender/editors/space_text/text_ops.c index e3a46929fba..7eb0ab67d8e 100644 --- a/source/blender/editors/space_text/text_ops.c +++ b/source/blender/editors/space_text/text_ops.c @@ -2056,7 +2056,7 @@ static void scroll_apply(bContext *C, wmOperator *op, wmEvent *event) tsc->delta[1]+= mval[1] - tsc->old[1]; if(!tsc->scrollbar) { - txtdelta[0]= tsc->delta[0]/st->cwidth; + txtdelta[0]= -tsc->delta[0]/st->cwidth; txtdelta[1]= tsc->delta[1]/st->lheight; tsc->delta[0]%= st->cwidth;