Fix incorrect textbox use w/ scaled fonts

This commit is contained in:
Campbell Barton 2015-09-10 14:07:37 +10:00
parent e4baa9fb86
commit 3225261f13
1 changed files with 1 additions and 1 deletions

View File

@ -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++;