# HG changeset patch # User Matti Hamalainen # Date 1645973004 -7200 # Node ID 23ca671ee1cd611066bcd6e77be9ffdb0d577870 # Parent 12ea1ea9352248257774b2a8abb7f22cb3962705 Adjust block description cosmetics. diff -r 12ea1ea93522 -r 23ca671ee1cd tools/objlink.c --- 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);