Remove superfluous check in llfontgl.

This commit is contained in:
Shyotl
2015-06-25 20:21:33 -05:00
parent ada7e3ca30
commit af81f692de

View File

@@ -547,7 +547,7 @@ F32 LLFontGL::getWidthF32(const LLWString& utf32text, const S32 begin_offset, co
// Handle crappy embedded hack
cur_x += getEmbeddedCharAdvance(ext_data);
if( ((i+1) < max_index) && (i+1 < max_index))
if(i+1 < max_index)
{
cur_x += EXT_KERNING * sScaleX;
}