From c0420b76b0885a9db8fb3911e9744ab5b58d92a6 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Mon, 29 Mar 2010 02:05:38 +0200 Subject: [PATCH] Fix ascii fallback --- font/font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/font/font.c b/font/font.c index f39bd9e7e..d512ec98f 100644 --- a/font/font.c +++ b/font/font.c @@ -154,7 +154,7 @@ ascii_glyph_lookup (grub_uint32_t code) ascii_font_glyph[current]->font = NULL; grub_memcpy (ascii_font_glyph[current]->bitmap, - &ascii_bitmaps[(0x7f - current) * ASCII_BITMAP_SIZE], + &ascii_bitmaps[current * ASCII_BITMAP_SIZE], ASCII_BITMAP_SIZE); }