Skip to content

Commit

Permalink
Fix trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
past-due committed Oct 26, 2024
1 parent 29343d2 commit 2a9934f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/loadsave.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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];
Expand Down
2 changes: 1 addition & 1 deletion src/multiopt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 2a9934f

Please sign in to comment.