changeset 22:af6fad875a28

Cleanups.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 30 Sep 2012 19:12:32 +0300
parents ea93b1d5c894
children c9cd46294786
files krapula.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/krapula.c	Sat Sep 29 17:00:01 2012 +0300
+++ b/krapula.c	Sun Sep 30 19:12:32 2012 +0300
@@ -10,8 +10,8 @@
 DMOptArg optList[] =
 {
     { 0, '?', "help",       "Show this help", OPT_NONE },
-    { 2, 'v', "verbose",    "Be more verbose", OPT_NONE },
-    { 3, 'f', "fs",         "Fullscreen", OPT_NONE },
+    { 1, 'v', "verbose",    "Be more verbose", OPT_NONE },
+    { 2, 'f', "fs",         "Fullscreen", OPT_NONE },
 };
 
 const int optListN = sizeof(optList) / sizeof(optList[0]);
@@ -33,11 +33,11 @@
         exit(0);
         break;
 
-    case 2:
+    case 1:
         dmVerbosity++;
         break;
     
-    case 3:
+    case 2:
         engine.optVFlags |= SDL_FULLSCREEN;
         break;