提交 33b6939f 编写于 作者: B blueswir1

Fix crash when returning from monitor or serial console to normal TCX view

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4750 c046a42c-6fe2-441c-8c8c-71466251a162
上级 d978c02c
......@@ -186,6 +186,8 @@ static void tcx_update_display(void *opaque)
if (ts->ds->depth == 0)
return;
if (ts->ds->width != ts->width || ts->ds->height != ts->height)
dpy_resize(ts->ds, ts->width, ts->height);
page = ts->vram_offset;
y_start = -1;
page_min = 0xffffffff;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册