monitor fixes (Johannes Schindelin)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1109 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2004-10-09 17:32:58 +00:00
parent d75d9f6be9
commit 8e3a9fd280
4 changed files with 24 additions and 12 deletions

View file

@ -570,8 +570,11 @@ void console_select(unsigned int index)
active_console = s;
if (s->text_console) {
if (s->g_width != s->ds->width ||
s->g_height != s->ds->height)
s->g_height != s->ds->height) {
s->g_width = s->ds->width;
s->g_height = s->ds->height;
text_console_resize(s);
}
console_refresh(s);
}
}