summaryrefslogtreecommitdiff
path: root/console-client/vga-dynafont.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2002-09-30 17:13:14 +0000
committerMarcus Brinkmann <marcus@gnu.org>2002-09-30 17:13:14 +0000
commite8800e674058ea33a8d43e5976277a18b8102233 (patch)
tree0cfe3e6f2b1ed9bb6282aa20d6bbfcf76dc92ea2 /console-client/vga-dynafont.c
parent3f9ff75beda3a3084b4f846ba9616401055948b6 (diff)
2002-09-30 Marcus Brinkmann <marcus@gnu.org>
* vga-support.c (vga_get_font_width): New function. * vga-support.h: Add prototype for vga_get_font_width. * vga-dynafont.c (create_system_font): Call vga_get_font_width to determine real font width.
Diffstat (limited to 'console-client/vga-dynafont.c')
-rw-r--r--console-client/vga-dynafont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/console-client/vga-dynafont.c b/console-client/vga-dynafont.c
index 0df28df1..97ca2d83 100644
--- a/console-client/vga-dynafont.c
+++ b/console-client/vga-dynafont.c
@@ -309,7 +309,7 @@ create_system_font (void)
bdf_error_t bdferr;
bdf_font_t font;
unsigned char bitmap[VGA_FONT_SIZE][VGA_FONT_HEIGHT]; /* 8kB on stack. */
- int width = 9; /* XXX Find out if we are in 8 or 9 pixel mode. */
+ int width = vga_get_font_width ();
int i;
/* Add the glyph at position POS to the font for character