Address a typo in r6435 affecting SDL 1.2 builds.

git-svn-id: https://svn.eduke32.com/eduke32@6449 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2017-09-23 03:17:35 +00:00
parent 36eb156d7d
commit 5f79c71aa0
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ void getvalidmodes(void)
{
for (i = 0; modes[i]; i++)
{
if (!SDL_CHECKMODE(modes[i]->w, modes[i]->h > MAXYDIM))
if (!SDL_CHECKMODE(modes[i]->w, modes[i]->h))
continue;
SDL_ADDMODE(modes[i]->w, modes[i]->h, cdepths[j], 1);