2006-04-20 Vesa Jaaskelainen <chaac@nic.fi>

* term/gfxterm.c (grub_gfxterm_getcharwidth): Fixed character
        length for unknown glyph.
This commit is contained in:
chaac committed 2006-04-20 15:19:01 +00:00
1 parent 2eab1c0dad
commit 37e5e1a4da
2 files changed
+6 -2

No files matched your search

+1 -2
View File
@@ -641,8 +641,7 @@ grub_gfxterm_getcharwidth (grub_uint32_t c)
{
struct grub_font_glyph glyph;
if (! grub_font_get_glyph (c, &glyph))
return 0;
grub_font_get_glyph (c, &glyph);
return glyph.char_width;
}