Fixed uninitialised pointer
This commit is contained in:
parent
cc4eb82162
commit
ac904aa4ae
1 changed files with 2 additions and 0 deletions
|
@ -1806,6 +1806,8 @@ FontObject* LoadFontFromData(const unsigned char *data, size_t data_size, unsign
|
||||||
|
|
||||||
FT_Set_Pixel_Sizes(font_object->face, best_pixel_width, best_pixel_height);
|
FT_Set_Pixel_Sizes(font_object->face, best_pixel_width, best_pixel_height);
|
||||||
|
|
||||||
|
font_object->glyph_list_head = NULL;
|
||||||
|
|
||||||
return font_object;
|
return font_object;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue