From 872d5168c06bc8fb9a1d6b5300f7b7656ea24a84 Mon Sep 17 00:00:00 2001
From: Marko Lindqvist <cazfi74@gmail.com>
Date: Thu, 17 Apr 2025 15:00:10 +0300
Subject: [PATCH 24/24] savegame/ : Remove trailing spaces

See RM #1304

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
---
 server/savegame/savecompat.c | 2 +-
 server/savegame/savegame3.c  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/server/savegame/savecompat.c b/server/savegame/savecompat.c
index aafb5c1799..aa3130cb51 100644
--- a/server/savegame/savecompat.c
+++ b/server/savegame/savecompat.c
@@ -963,7 +963,7 @@ static void compat_load_020600(struct loaddata *loading,
     }
 
     /* Renamed 'capital' to 'got_first_city'. */
-    if (secfile_lookup_bool(loading->file, &got_first_city, 
+    if (secfile_lookup_bool(loading->file, &got_first_city,
                             "player%d.capital", plrno)) {
       secfile_insert_bool(loading->file, got_first_city,
                           "player%d.got_first_city", plrno);
diff --git a/server/savegame/savegame3.c b/server/savegame/savegame3.c
index 04ff40684a..9ea250b4d5 100644
--- a/server/savegame/savegame3.c
+++ b/server/savegame/savegame3.c
@@ -3492,7 +3492,7 @@ static void sg_save_map_owner(struct savedata *saving)
         fc_snprintf(token, sizeof(token), "%d",
                     ptile->infra_turns);
       } else {
-        fc_snprintf(token, sizeof(token), "0"); 
+        fc_snprintf(token, sizeof(token), "0");
       }
       strcat(line, token);
       if (x + 1 < MAP_NATIVE_WIDTH) {
@@ -3673,7 +3673,7 @@ static void sg_save_map_known(struct savedata *saving)
             p = player_index(pplayer);
             l = p / 32;
             known[l * MAP_INDEX_SIZE + tile_index(ptile)]
-              |= (1u << (p % 32)); /* "p % 32" = "p - l * 32" */ 
+              |= (1u << (p % 32)); /* "p % 32" = "p - l * 32" */
           }
         } players_iterate_end;
       } whole_map_iterate_end;
-- 
2.47.2

