summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/src/debug.c10
-rw-r--r--src/src/macros.h1
2 files changed, 7 insertions, 4 deletions
diff --git a/src/src/debug.c b/src/src/debug.c
index ee284d0be..35571547f 100644
--- a/src/src/debug.c
+++ b/src/src/debug.c
@@ -211,11 +211,13 @@ if (indent > 0)
int i;
for (i = indent >> 2; i > 0; i--)
{
- Ustrcpy(debug_ptr, " .");
- debug_ptr += 4;
+ Ustrcpy(debug_ptr, " " UTF8_VERT_2DASH);
+ debug_ptr += 6; /* 3 spaces + 3 UTF-8 octets */
+ debug_prefix_length += 6;
}
- Ustrncpy(debug_ptr, " ", indent & 3);
- debug_ptr += indent & 3;
+ Ustrncpy(debug_ptr, " ", indent &= 3);
+ debug_ptr += indent;
+ debug_prefix_length += indent;
}
/* Use the checked formatting routine to ensure that the buffer
diff --git a/src/src/macros.h b/src/src/macros.h
index 4efeee928..004d6dfd7 100644
--- a/src/src/macros.h
+++ b/src/src/macros.h
@@ -980,6 +980,7 @@ enum { FILTER_UNSET, FILTER_FORWARD, FILTER_EXIM, FILTER_SIEVE };
#define UTF8_HORIZ "\xE2\x94\x80"
#define UTF8_VERT_RIGHT "\xE2\x94\x9C"
#define UTF8_UP_RIGHT "\xE2\x94\x94"
+#define UTF8_VERT_2DASH "\xE2\x95\x8E"