From 71b05365368b400593c974a4e69a9369c4496036 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Fri, 7 Feb 2020 23:55:46 -0500 Subject: Revert "Only treat the first tab as the alignment point" This reverts commit 5881a96638b63475bf48d506dbb659c481279790. --- ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui.c') diff --git a/ui.c b/ui.c index d9b067b..374fa93 100644 --- a/ui.c +++ b/ui.c @@ -383,7 +383,7 @@ static void wordWrap(WINDOW *win, const char *str) { int align = 0; struct Style style = Reset; while (*str) { - if (*str == '\t' && !align) { + if (*str == '\t') { waddch(win, ' '); getyx(win, y, align); str++; -- cgit 1.4.1