[4903] Force screen resize if no buffer set (Avi Kivity).
Revision: 4903
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4903 Author: balrog Date: 2008-07-19 14:09:20 +0000 (Sat, 19 Jul 2008)
Log Message:
-----------
Force screen resize if no buffer set (Avi Kivity).
This is a hack to get screen_dump to work, we should start using a global screen_dump method.
Signed-off-by Avi Kivity <[email protected]>
Signed-off-by Anthony Liguori <[email protected]>
Modified Paths:
--------------
trunk/console.c
Modified: trunk/console.c
===================================================================
console.c +2 -1
@@ -1334,7 +1334,8 @@void qemu_console_resize (QEMUConsole *console,int width,int height) { -if (console->g_width != width || console->g_height != height) { +if (console->g_width != width || console->g_height != height + || !console->ds->data) { console->g_width = width; console->g_height = height;if (active_console == console) {