summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tree.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/tree.c b/tree.c
index a0c3613e..198508f6 100644
--- a/tree.c
+++ b/tree.c
@@ -1,7 +1,7 @@
/* $Id$ */
/*
* Copyright (c) 2008, 2009, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
- * Copyright (c) 2013-2015, 2017-2021 Ingo Schwarze <schwarze@openbsd.org>
+ * Copyright (c) 2013-2015, 2017-2022 Ingo Schwarze <schwarze@openbsd.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -509,12 +509,16 @@ print_span(const struct tbl_span *sp, int indent)
putchar('x');
}
switch (dp->pos) {
- case TBL_DATA_HORIZ:
case TBL_DATA_NHORIZ:
- putchar('-');
+ putchar('\\');
+ /* FALLTHROUGH */
+ case TBL_DATA_HORIZ:
+ putchar('_');
break;
- case TBL_DATA_DHORIZ:
case TBL_DATA_NDHORIZ:
+ putchar('\\');
+ /* FALLTHROUGH */
+ case TBL_DATA_DHORIZ:
putchar('=');
break;
default: