changeset 2639:1fef8c9797f7

Also print the character in addition to character code for changed chars in diffmap verbose mode.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 18 Feb 2024 17:54:11 +0200
parents db8bd87e67a5
children 72d5c18187d3
files src/diffmap.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/diffmap.c	Sun Feb 18 15:53:03 2024 +0200
+++ b/src/diffmap.c	Sun Feb 18 17:54:11 2024 +0200
@@ -159,7 +159,7 @@
             {
                 c = muGetMapPieceIndex(*p2, useOld, false);
                 *pd = (c < 0) ? 0xfd : (c | 64);
-                THMSG(2, "[%d,%d]: %d -> %d\n", x+1, y+1, *p1, *p2);
+                THMSG(2, "[%d,%d]: %d '%c' -> %d '%c'\n", x+1, y+1, *p1, *p1, *p2, *p2);
                 (*count)++;
             }
             else