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 2006-04-20 15:19:01 +00:00
parent 2eab1c0dad
commit 37e5e1a4da
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2006-04-20 Vesa Jaaskelainen <chaac@nic.fi>
* term/gfxterm.c (grub_gfxterm_getcharwidth): Fixed character
length for unknown glyph.
2006-04-20 Yoshinori K. Okuji <okuji@enbug.org> 2006-04-20 Yoshinori K. Okuji <okuji@enbug.org>
Add support for pre-loaded modules into the EFI port. Add support for pre-loaded modules into the EFI port.

View file

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