# HG changeset patch # User koda # Date 1381829746 -7200 # Node ID f7a55d8e8f4dc231ed794c861e537fd9e01ac97b # Parent 1826b531536962fc559d3ba67f4c98960473835e min->max diff -r 1826b5315369 -r f7a55d8e8f4d hedgewars/uVideoRec.pas --- a/hedgewars/uVideoRec.pas Tue Oct 15 01:15:39 2013 +0200 +++ b/hedgewars/uVideoRec.pas Tue Oct 15 11:35:46 2013 +0200 @@ -369,8 +369,8 @@ begin // we need to make sure these variables are initialized before the main loop // or the wrapper will keep the default values of preinit - cScreenWidth:= min(cWindowedWidth, 640); - cScreenHeight:= min(cWindowedHeight, 480); + cScreenWidth:= max(cWindowedWidth, 640); + cScreenHeight:= max(cWindowedHeight, 480); end; procedure freeModule;