From 5f79c71aa0041b44754b811519a9e19213fcc0a7 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Sat, 23 Sep 2017 03:17:35 +0000 Subject: [PATCH] Address a typo in r6435 affecting SDL 1.2 builds. git-svn-id: https://svn.eduke32.com/eduke32@6449 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/build/src/sdlayer12.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/build/src/sdlayer12.cpp b/source/build/src/sdlayer12.cpp index 311eb9922..7083305ec 100644 --- a/source/build/src/sdlayer12.cpp +++ b/source/build/src/sdlayer12.cpp @@ -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);