author | koda |
Tue, 15 Oct 2013 11:35:46 +0200 | |
changeset 9545 | f7a55d8e8f4d |
parent 9543 | 1826b5315369 |
child 9547 | f9e82f34c904 |
--- 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;