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;