diff options
author | Avi Kivity <avi@qumranet.com> | 2008-07-10 16:17:08 +0300 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-07-10 16:20:48 +0300 |
commit | 3fcdf97c352a7ca31a9cf0ea2bb944a0b6ff5649 (patch) | |
tree | 05d722b122fb496a8723e53efe3f4183a718b920 | |
parent | 480a9bf08f997c9a2eb9c89a8b2234a8134032c9 (diff) |
Signed-off-by: Avi Kivity <avi@qumranet.com>
-rw-r--r-- | console.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1334,7 +1334,8 @@ CharDriverState *text_console_init(DisplayState *ds, const char *p) 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) { |