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:
parent
2eab1c0dad
commit
37e5e1a4da
@ -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>
|
||||
|
||||
Add support for pre-loaded modules into the EFI port.
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user