summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2010-12-16 12:12:43 +0100
committerKarel Zak <kzak@redhat.com>2010-12-16 12:12:43 +0100
commitf872ed1f22c50c3cbfb80bc4062ea995c6071964 (patch)
treeed17d388035a3bb085dc4092900e6c046e897e48
parent5eae5930931742e80df9da51888842ae9be0eb33 (diff)
downloadutil-linux-old-f872ed1f22c50c3cbfb80bc4062ea995c6071964.tar.gz
lib: [tt] fix alignment of the last tree child
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r--lib/tt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tt.c b/lib/tt.c
index f371a93a..1043ee32 100644
--- a/lib/tt.c
+++ b/lib/tt.c
@@ -317,7 +317,7 @@ static char *line_get_ascii_art(struct tt_line *ln, char *buf, size_t *bufsz)
return NULL;
if (list_last_entry(&ln->ln_children, &ln->parent->ln_branch))
- art = " ";
+ art = " ";
else
art = ln->table->symbols->vert;