changeset 2557:23ca671ee1cd

Adjust block description cosmetics.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 27 Feb 2022 16:43:24 +0200
parents 12ea1ea93522
children 1bfa05ccc88d
files tools/objlink.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/tools/objlink.c	Sun Feb 27 16:38:46 2022 +0200
+++ b/tools/objlink.c	Sun Feb 27 16:43:24 2022 +0200
@@ -746,14 +746,14 @@
 void memPrintLine(FILE *f)
 {
     fprintf(f,
-        "              +------------------------------------------+\n");
+        "              +----------------------------------------------------+\n");
 }
 
 void memPrintEmpty(FILE *f, int n)
 {
     for (int i = 0; i < n; i++)
     fprintf(f,
-        "              |                                          |\n");
+        "              |                                                    |\n");
 }
 
 void dmDescribeMemory(FILE *f)
@@ -781,7 +781,7 @@
             if (kz > 1) memPrintEmpty(f, kz);
 
             snprintf(desc, sizeof(desc), "EMPTY (%d)", siz);
-            fprintf(f, "$%.4x - $%.4x | %-40s |\n", prev->end + 1, curr->start - 1, desc);
+            fprintf(f, "$%.4x - $%.4x | %-50s |\n", prev->end + 1, curr->start - 1, desc);
 
             if (kz > 1) memPrintEmpty(f, kz);
             memPrintLine(f);
@@ -803,8 +803,8 @@
         kz = siz / (1024 * 2);
 
         if (kz > 1) memPrintEmpty(f, kz);
-        snprintf(desc, sizeof(desc), "%s (%s, %d)", curr->name, s, siz);
-        fprintf(f, "$%.4x - $%.4x | %-40s |\n", curr->start, curr->end, desc);
+        snprintf(desc, sizeof(desc), "%.40s (%s, %d)", curr->name, s, siz);
+        fprintf(f, "$%.4x - $%.4x | %-50s |\n", curr->start, curr->end, desc);
         if (kz > 1) memPrintEmpty(f, kz);
         memPrintLine(f);