From 6b01f1d3911bd7c7eadbb8a3b4375bd3ac05c98f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 23 Apr 2014 19:05:46 +0200 Subject: delta: draw arrows with draw_special_char() Let's unify generation of unicode chars at one place. Also, don't add an extra space into chars we print, except for the tree chars where this is really necessary. --- src/analyze/analyze.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/analyze') diff --git a/src/analyze/analyze.c b/src/analyze/analyze.c index 3d2d08f667..ba236d92bc 100644 --- a/src/analyze/analyze.c +++ b/src/analyze/analyze.c @@ -645,7 +645,7 @@ static int list_dependencies_print(const char *name, unsigned int level, unsigne char ts[FORMAT_TIMESPAN_MAX], ts2[FORMAT_TIMESPAN_MAX]; for (i = level; i != 0; i--) - printf("%s", draw_special_char(branches & (1 << (i-1)) ? DRAW_TREE_VERT : DRAW_TREE_SPACE)); + printf("%s", draw_special_char(branches & (1 << (i-1)) ? DRAW_TREE_VERTICAL : DRAW_TREE_SPACE)); printf("%s", draw_special_char(last ? DRAW_TREE_RIGHT : DRAW_TREE_BRANCH)); -- cgit v1.2.3-54-g00ecf