--- /usr/ports/emulators/qemu/work/qemu-snapshot-2006-04-08_23/console.c.orig Sun Apr 9 22:21:51 2006 +++ /usr/ports/emulators/qemu/work/qemu-snapshot-2006-04-08_23/console.c Sun Apr 9 22:19:57 2006 @@ -931,8 +931,8 @@ s->total_height = DEFAULT_BACKSCROLL; s->x = 0; s->y = 0; - s->g_width = s->ds->width; - s->g_height = s->ds->height; + s->g_width = s->ds->width == 0 ? 24*FONT_WIDTH : s->ds->width; + s->g_height = s->ds->height == 0 ? 24*FONT_HEIGHT : s->ds->height; /* Set text attribute defaults */ s->t_attrib_default.bold = 0;