[4750] Fix crash when returning from monitor or serial console to normal TCX view
Revision: 4750
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4750 Author: blueswir1 Date: 2008-06-19 15:56:22 +0000 (Thu, 19 Jun 2008)
Log Message:
-----------
Fix crash when returning from monitor or serial console to normal TCX view
Modified Paths:
--------------
trunk/hw/tcx.c
Modified: trunk/hw/tcx.c
===================================================================
hw/tcx.c +2 -0
@@ -186,6 +186,8 @@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 ;