small crash fix
This commit is contained in:
parent
24b4e07966
commit
3f15a611f2
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue