small crash fix

This commit is contained in:
nehalmistry 2002-06-18 20:09:02 +00:00
parent 24b4e07966
commit 3f15a611f2

View file

@ -1505,7 +1505,7 @@ local void SetRes(Menuitem *mi)
if (VideoWidth != res) {
VideoWidth=res;
VideoHeight=res * 2 / 3;
VideoHeight=res * 3 / 4;
InitVideo();
DestroyCursorBackground();
SetClipping(0,0,VideoWidth-1,VideoHeight-1);