Skip to content

Commit

Permalink
- fixed crash on invoking vid_setsize CCMD with one argument
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-lysiuk committed Dec 12, 2018
1 parent eb8614f commit 14094eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v_video.cpp
Expand Up @@ -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");
}
Expand Down

0 comments on commit 14094eb

Please sign in to comment.