From dc4142e1a935cb453aa0496bba5a9dd49e0971e4 Mon Sep 17 00:00:00 2001 From: laubzega Date: Fri, 29 May 2020 00:04:12 -0700 Subject: [PATCH] Minor formatting changes after review. --- src/ld65/bin.c | 5 +++-- src/ld65/config.c | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/ld65/bin.c b/src/ld65/bin.c index f2e741be5..bd822cc23 100644 --- a/src/ld65/bin.c +++ b/src/ld65/bin.c @@ -227,8 +227,9 @@ static void BinWriteMem (BinDesc* D, MemoryArea* M) SegWrite (D->Filename, D->F, S->Seg, BinWriteExpr, D); PrintNumVal ("Wrote", (unsigned long) (ftell (D->F) - P)); /* If we have just written an OVERWRITE segement, move position to the - * end of file, so that subsequent segments are written in the correct - * place. */ + ** end of file, so that subsequent segments are written in the correct + ** place. + */ if (S->Flags & SF_OVERWRITE) { fseek (D->F, 0, SEEK_END); } diff --git a/src/ld65/config.c b/src/ld65/config.c index 79c38a108..c22ced1ef 100644 --- a/src/ld65/config.c +++ b/src/ld65/config.c @@ -2111,8 +2111,8 @@ unsigned CfgProcess (void) ** unless it's an OVERWRITE segment. */ if (S->Load == M && - ((S->Flags & SF_BSS) == 0 || (M->Flags & MF_FILL) != 0) - && (S->Flags & SF_OVERWRITE) == 0) { + ((S->Flags & SF_BSS) == 0 || (M->Flags & MF_FILL) != 0) && + (S->Flags & SF_OVERWRITE) == 0) { M->F->Size += Addr - StartAddr; } }