MAINT-6683 fixed wrapping issues of notecard embedded items

master
andreykproductengine 2016-08-30 20:13:45 +03:00
parent e5395a48a8
commit 00fc34a62f
1 changed files with 1 additions and 6 deletions

View File

@ -364,12 +364,7 @@ S32 LLFontGL::render(const LLWString &wstr, S32 begin_offset, F32 x, F32 y, cons
if (right_x)
{
F32 cr_x = (cur_x - origin.mV[VX]) / sScaleX;
if (*right_x < cr_x)
{
// rightmost edge of previously drawn text, don't draw over previous text
*right_x = cr_x;
}
*right_x = (cur_x - origin.mV[VX]) / sScaleX;
}
//FIXME: add underline as glyph?