summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-10-09 17:32:58 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-10-09 17:32:58 +0000
commit8e3a9fd28059821f819295fe9178435990141924 (patch)
treeb8221894d10d2f398990f58e18f029bdceedad55 /console.c
parentSDL Audio support and SB16 fixes (malc) (diff)
downloadqemu-kvm-8e3a9fd28059821f819295fe9178435990141924.tar.gz
qemu-kvm-8e3a9fd28059821f819295fe9178435990141924.tar.bz2
qemu-kvm-8e3a9fd28059821f819295fe9178435990141924.zip
monitor fixes (Johannes Schindelin)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1109 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'console.c')
-rw-r--r--console.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/console.c b/console.c
index 171d2a937..b99a3bf18 100644
--- a/console.c
+++ b/console.c
@@ -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);
}
}