From 97e4c6b42f117676e506e91a92d0787a07d0a1ee Mon Sep 17 00:00:00 2001 From: Bob Andrews Date: Thu, 10 Jul 2025 21:18:12 +0200 Subject: [PATCH] some cosmetics --- src/ca65/listing.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ca65/listing.c b/src/ca65/listing.c index 99b5676d7..2c6b32f87 100644 --- a/src/ca65/listing.c +++ b/src/ca65/listing.c @@ -289,13 +289,12 @@ static char* MakeLineHeader (char* H, const ListLine* L) if (!SegList) { Offset = 9; sprintf (H, "%06lX%c %c", L->PC, Mode, Depth); - }else if (L->Reloc){ + } else if (L->Reloc) { Offset = 12; sprintf (H, "%02X.%06lX%c %c",L->Seg, L->PC, Mode, Depth); } else { Offset = 12; sprintf (H, " %06lX%c %c", L->PC, Mode, Depth); - } memset (H + Offset, ' ', LINE_HEADER_LEN - Offset - (SegList?0:3)); @@ -463,8 +462,9 @@ void CreateListing (void) L = L->Next; } - if (SegList) + if (SegList) { ListSegments (F); + } /* Close the listing file */ (void) fclose (F); }