diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-09-10 07:07:37 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-09-10 07:13:14 +0300 |
commit | 3225261f131fa3b0eb4a2bfc181945ee74bca794 (patch) | |
tree | 59eb4e06b96eb5552aec0035289905563fdb4ac2 /source/blender/blenkernel/intern | |
parent | e4baa9fb8626065f3ecb3abd035afe47e01b527f (diff) |
Fix incorrect textbox use w/ scaled fonts
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/font.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/font.c b/source/blender/blenkernel/intern/font.c index 2adf8ebc615..23261b63486 100644 --- a/source/blender/blenkernel/intern/font.c +++ b/source/blender/blenkernel/intern/font.c @@ -777,7 +777,7 @@ makebreak: if ((tb_scale.h != 0.0f) && (cu->totbox > (curbox + 1)) && - ((-(yof - tb_scale.y)) > (tb_scale.h - (linedist * cu->fsize)) - yof_scale)) + ((-(yof - tb_scale.y)) > (tb_scale.h - linedist) - yof_scale)) { maxlen = 0; curbox++; |