Fix crash upon enter/leave full console followed by repaint
commitd4ef03a0f2446b10415ddcc704459244384dbefb
authorIlari Liusvaara <ilari.liusvaara@elisanet.fi>
Sun, 20 Nov 2011 07:36:23 +0000 (20 09:36 +0200)
committerIlari Liusvaara <ilari.liusvaara@elisanet.fi>
Sun, 20 Nov 2011 07:36:23 +0000 (20 09:36 +0200)
treec250ad525482e5d70790ecc1fece7d9d2dc47cb3
parent984120972e458b8435323a24f60b8be083f66904
Fix crash upon enter/leave full console followed by repaint

It turns out that briefly enabling full console mode followed by
triggering a repaint crashed the emulator with SIGSEGV.

The cause is that window size is not properly updated upon entry/leaving
of full console mode. Fix this. This also fixes full console mode to
display properly.
src/plat-sdl/paint.cpp