- fixed crash on invoking vid_setsize CCMD with one argument

This commit is contained in:
alexey.lysiuk 2018-12-12 10:15:53 +02:00
parent eb8614fc71
commit 14094ebeb9
1 changed files with 1 additions and 1 deletions

View File

@ -924,7 +924,7 @@ void ScaleWithAspect (int &w, int &h, int Width, int Height)
CCMD(vid_setsize) CCMD(vid_setsize)
{ {
if (argv.argc() < 2) if (argv.argc() < 3)
{ {
Printf("Usage: vid_setsize width height\n"); Printf("Usage: vid_setsize width height\n");
} }