diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-04-07 20:31:38 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-04-07 20:31:38 +0000 |
commit | eccabc6ee0da82a3cb6037537c145fae08c23041 (patch) | |
tree | 32e0fc8ac5f0e949ac8d167700460705a70e83b0 /hw/vga.c | |
parent | bb058620c3b6bbddb99c9afff956dded7139897b (diff) |
vga 9 pixel wide text char fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@713 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/vga.c')
-rw-r--r-- | hw/vga.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1138,7 +1138,7 @@ static void vga_draw_text(VGAState *s, int full_update) /* total width & height */ cheight = (s->cr[9] & 0x1f) + 1; cw = 8; - if (s->sr[1] & 0x01) + if (!(s->sr[1] & 0x01)) cw = 9; if (s->sr[1] & 0x08) cw = 16; /* NOTE: no 18 pixel wide */ @@ -1154,7 +1154,7 @@ static void vga_draw_text(VGAState *s, int full_update) height = (height + 1) / cheight; } if (width != s->last_width || height != s->last_height || - cw != s->last_cw || cw != s->last_cw) { + cw != s->last_cw || cheight != s->last_ch) { dpy_resize(s->ds, width * cw, height * cheight); s->last_width = width; s->last_height = height; |