]> git.sur5r.net Git - cc65/commitdiff
Fixing old pull request
authorjede <jede@oric.org>
Sun, 29 Jan 2017 21:53:50 +0000 (22:53 +0100)
committerjede <jede@oric.org>
Sun, 29 Jan 2017 21:53:50 +0000 (22:53 +0100)
src/ca65/main.c
src/cc65/main.c

index 91f652811246c970cdb49a68a7cc2bc24d939c4f..fd06f685d992ae8f7ff1b3533de85d4a4ce53b5e 100644 (file)
@@ -222,14 +222,14 @@ static void SetSys (const char* Sys)
             CBMSystem ("__C16__");
             break;
 
-               case TGT_C65:
-                       CBMSystem("__C65__");
-                       break;
-
         case TGT_C64:
             CBMSystem ("__C64__");
             break;
 
+               case TGT_C65:
+                       CBMSystem("__C65__");
+                       break;
+
         case TGT_VIC20:
             CBMSystem ("__VIC20__");
             break;
@@ -628,11 +628,11 @@ static void OptVerbose (const char* Opt attribute ((unused)),
 
 
 static void OptVersion(const char* Opt attribute((unused)),
-       const char* Arg attribute((unused)))
+                       const char* Arg attribute((unused)))
        /* Print the assembler version */
 {
-       fprintf(stderr, "%s V%s\n", ProgName, GetVersionAsString());
-       exit(EXIT_SUCCESS);
+    fprintf(stderr, "%s V%s\n", ProgName, GetVersionAsString());
+    exit(EXIT_SUCCESS);
 }
 
 
index b7abf959ce80958aeb58ba87eb0e12c035c82b59..1fd670340ef813d6d313ad7dc94de7b9d289b52f 100644 (file)
@@ -748,11 +748,11 @@ static void OptVerbose (const char* Opt attribute ((unused)),
 
 
 static void OptVersion(const char* Opt attribute((unused)),
-       const char* Arg attribute((unused)))
+                       const char* Arg attribute((unused)))
        /* Print the compiler version */
 {
-       fprintf(stderr, "%s V%s\n", ProgName, GetVersionAsString());
-       exit(EXIT_SUCCESS);
+    fprintf(stderr, "%s V%s\n", ProgName, GetVersionAsString());
+    exit(EXIT_SUCCESS);
 }