mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 15:22:39 +00:00
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:
1 parent
2eab1c0dad
commit
37e5e1a4da
2 files changed
+6
-2
No files matched your search
+1
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user