Skip to content
Snippets Groups Projects
Commit e7a4cce3 authored by maksymsproductengine's avatar maksymsproductengine
Browse files

CHUI-846 FIXED [crashhunters] crash in LLFontGL::maxDrawableChars

parent d81226f1
No related branches found
No related tags found
No related merge requests found
......@@ -599,6 +599,11 @@ S32 LLFontGL::maxDrawableChars(const llwchar* wchars, F32 max_pixels, S32 max_ch
if(!fgi)
{
fgi = mFontFreetype->getGlyphInfo(wch);
if (NULL == fgi)
{
return 0;
}
}
// account for glyphs that run beyond the starting point for the next glyphs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment