mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +00:00
- fixed crash on invoking vid_setsize CCMD with one argument
This commit is contained in:
parent
eb8614fc71
commit
14094ebeb9
1 changed files with 1 additions and 1 deletions
|
@ -924,7 +924,7 @@ void ScaleWithAspect (int &w, int &h, int Width, int Height)
|
|||
|
||||
CCMD(vid_setsize)
|
||||
{
|
||||
if (argv.argc() < 2)
|
||||
if (argv.argc() < 3)
|
||||
{
|
||||
Printf("Usage: vid_setsize width height\n");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue