foxygit / doom Log in
commit d5a20276eafe1974a0dc07cc0a42456cb2eb3ee6
Author:     NY00123 <ny00@outlook.com>
AuthorDate: Wed Sep 29 00:02:01 2021 +0300
Commit:     Turo Lamminen <turol@users.noreply.github.com>
CommitDate: Wed Feb 21 16:00:03 2024 +0200

    d_main.c: Remove trailing whitespace found while using code for Hexen
---
 src/doom/d_main.c   | 14 +++++++-------
 src/strife/d_main.c |  6 +++---
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/doom/d_main.c b/src/doom/d_main.c
index 14d75753..525a5e59 100644
--- a/src/doom/d_main.c
+++ b/src/doom/d_main.c
@@ -972,7 +972,7 @@ void PrintDehackedBanners(void)
     }
 }

-static struct
+static struct
 {
     const char *description;
     const char *cmdline;
@@ -1002,11 +1002,11 @@ static void InitGameVersion(void)
     int i;
     boolean status;

-    //!
+    //!
     // @arg <version>
     // @category compat
     //
-    // Emulate a specific version of Doom.  Valid values are "1.2",
+    // Emulate a specific version of Doom.  Valid values are "1.2",
     // "1.666", "1.7", "1.8", "1.9", "ultimate", "final", "final2",
     // "hacx" and "chex".
     //
@@ -1023,8 +1023,8 @@ static void InitGameVersion(void)
                 break;
             }
         }
-
-        if (gameversions[i].description == NULL)
+
+        if (gameversions[i].description == NULL)
         {
             printf("Supported game versions:\n");

@@ -1033,7 +1033,7 @@ static void InitGameVersion(void)
                 printf("\t%s (%s)\n", gameversions[i].cmdline,
                         gameversions[i].description);
             }
-
+
             I_Error("Unknown game version '%s'", myargv[p+1]);
         }
     }
@@ -1122,7 +1122,7 @@ static void InitGameVersion(void)
     {
         deathmatch = 1;
     }
-
+
     // The original exe does not support retail - 4th episode not supported

     if (gameversion < exe_ultimate && gamemode == retail)
diff --git a/src/strife/d_main.c b/src/strife/d_main.c
index 67d7ff6b..cbff5975 100644
--- a/src/strife/d_main.c
+++ b/src/strife/d_main.c
@@ -1009,7 +1009,7 @@ void PrintDehackedBanners(void)
     }
 }

-static struct
+static struct
 {
     const char *description;
     const char *cmdline;
@@ -1027,7 +1027,7 @@ static void InitGameVersion(void)
     int p;
     int i;

-    // haleyjd: we support emulating either the 1.2 or the 1.31 versions of
+    // haleyjd: we support emulating either the 1.2 or the 1.31 versions of
     // Strife, which are the most significant. 1.2 is the most mature version
     // that still has the single saveslot restriction, whereas 1.31 is the
     // final revision. The differences between the two are barely worth
@@ -1053,7 +1053,7 @@ static void InitGameVersion(void)
             }
         }

-        if (gameversions[i].description == NULL)
+        if (gameversions[i].description == NULL)
         {
             printf("Supported game versions:\n");