From: Tobias Gläßer Date: Sun, 18 Jan 2004 11:50:28 +0000 (+0000) Subject: Fixed little bug, that prevented you from enabling fullscreen through the command... X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=4b68076dc4b5733e3b9d4c9985bd2b3d7cb3eb0c;p=supertux.git Fixed little bug, that prevented you from enabling fullscreen through the command line. SVN-Revision: 95 --- diff --git a/src/setup.c b/src/setup.c index 985e0c8dc..31bf69718 100644 --- a/src/setup.c +++ b/src/setup.c @@ -454,7 +454,7 @@ void parseargs(int argc, char * argv[]) use_fullscreen = YES; } - if (strcmp(argv[i], "--opengl") == 0 || + else if (strcmp(argv[i], "--opengl") == 0 || strcmp(argv[i], "-g") == 0) { /* Use full screen: */