From 2a9934f1b4c2fad26d6e97dd93b350a6b00502b2 Mon Sep 17 00:00:00 2001 From: past-due <30942300+past-due@users.noreply.github.com> Date: Fri, 25 Oct 2024 19:00:14 -0400 Subject: [PATCH] Fix trailing whitespace --- src/loadsave.cpp | 4 ++-- src/multiopt.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/loadsave.cpp b/src/loadsave.cpp index c87fff6d510..5b1db88d10f 100644 --- a/src/loadsave.cpp +++ b/src/loadsave.cpp @@ -392,7 +392,7 @@ bool addLoadSave(LOADSAVE_MODE savemode, const char *title) ASSERT(latestTagResult.has_value(), "No extractable latest tag?? - Please try re-downloading the latest official source bundle"); const TagVer buildTagVer = latestTagResult.value_or(TagVer()); try - { + { WZ_PHYSFS_enumerateFolders(NewSaveGamePath, [NewSaveGamePath, &buildTagVer, &saveGameNamesAndTimes](const char* dirName){ if (strcmp(dirName, "auto") == 0) { @@ -1155,7 +1155,7 @@ bool autoSave(bool force) // no old .gam found: check for new saves freeAutoSaveSlot(bMultiPlayer ? SAVEGAME_LOC_SKI_AUTO : SAVEGAME_LOC_CAM_AUTO); } - + time_t now = time(nullptr); struct tm timeinfo = getLocalTime(now); char savedate[PATH_MAX]; diff --git a/src/multiopt.cpp b/src/multiopt.cpp index 88ea5dbedf0..960471921f3 100644 --- a/src/multiopt.cpp +++ b/src/multiopt.cpp @@ -301,7 +301,7 @@ bool recvOptions(NETQUEUE queue) { // Check if those vectors are different bool structurelimitsUpdated = (oldStructureLimits.size() != ingame.structureLimits.size()) || (oldStructureLimits != ingame.structureLimits); - + // Notify if structure limits were changed if (structurelimitsUpdated) {