shithub: rgbds

Download patch

ref: 79748afdc4261a34195b23bd14cd245a176f04d7
parent: 32cb0558e45355b4b0cb2553928304ad0078afae
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Sun Nov 6 12:38:12 EST 2022

Align the "; Next union/fragment" comments with their symbols

--- a/src/link/output.c
+++ b/src/link/output.c
@@ -469,9 +469,11 @@
 				if (sect->nextu) {
 					// Announce the following "piece"
 					if (sect->nextu->modifier == SECTION_UNION)
-						fprintf(mapFile, "\t\t; Next union\n");
+						fprintf(mapFile,
+							"\t         ; Next union\n");
 					else if (sect->nextu->modifier == SECTION_FRAGMENT)
-						fprintf(mapFile, "\t\t; Next fragment\n");
+						fprintf(mapFile,
+							"\t         ; Next fragment\n");
 				}
 
 				sect = sect->nextu; // Also print symbols in the following "pieces"