From e518884c5db2349c84e8bdefa8e3445a827fa05a Mon Sep 17 00:00:00 2001 From: Alex 'AdUser' Z Date: Thu, 26 Mar 2015 21:23:09 +1000 Subject: [PATCH] * util.c : rec_diff() wide map --- src/util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/util.c b/src/util.c index 688bb8b..62dafe0 100644 --- a/src/util.c +++ b/src/util.c @@ -171,7 +171,8 @@ int rec_diff(imdb_t *db, unsigned long a, unsigned long b, unsigned short int sh for (i = 0; i < 16; i++) { row = *(((uint16_t *) map) + i); for (j = 0; j < 16; j++) { - putchar((row & 1) == 1 ? '1' : '0'); + putchar((row & 1) == 1 ? CHAR_USED : CHAR_NONE); + putchar((row & 1) == 1 ? CHAR_USED : CHAR_NONE); row >>= 1; } putchar('\n');