* font/font.c (grub_font_get_glyph_with_fallback): Avoid dereferencing

NULL font.
This commit is contained in:
Vladimir 'phcoder' Serbinenko committed 2010-07-02 18:25:42 +02:00
1 parent 2bdb2892b3
commit 942a10c71e
2 files changed
+7

No files matched your search

+2
View File
@@ -1029,6 +1029,8 @@ grub_font_get_glyph_with_fallback (grub_font_t font, grub_uint32_t code)
next = node->next;
glyph = grub_font_get_glyph_internal (curfont, code);
if (glyph && !font)
return glyph;
if (glyph)
{
int d;