From 6fdc00e9c303ce6963146aeee89c02aefde3abaf Mon Sep 17 00:00:00 2001 From: Christian Ohm Date: Thu, 21 Jul 2005 02:00:42 +0000 Subject: [PATCH] Add a missing "!" so the game actually runs again (I guess that was the reason I couldn't sleep...). git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@203 4a71c877-e1ca-e34f-864e-861f7616d084 --- crossplatform/lib/ivis_opengl/screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crossplatform/lib/ivis_opengl/screen.c b/crossplatform/lib/ivis_opengl/screen.c index 7c7c716f6..a68a9b545 100644 --- a/crossplatform/lib/ivis_opengl/screen.c +++ b/crossplatform/lib/ivis_opengl/screen.c @@ -181,7 +181,7 @@ BOOL screenInitialise( UDWORD width, // Display width } bpp = SDL_VideoModeOK(width, height, screenDepth, video_flags); - if (bpp) { + if (!bpp) { printf("Error: Video mode %dx%d@%dbpp is not supported!\n", width, height, screenDepth); return FALSE; }