about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-07 23:55:46 -0500
committerJune McEnroe <june@causal.agency>2020-02-07 23:55:46 -0500
commit71b05365368b400593c974a4e69a9369c4496036 (patch)
tree52e2505283839ab25de272a5d9086e957f5c48a8
parentClear completion for ID on self-part (diff)
downloadcatgirl-71b05365368b400593c974a4e69a9369c4496036.tar.gz
catgirl-71b05365368b400593c974a4e69a9369c4496036.zip
Revert "Only treat the first tab as the alignment point"
This reverts commit 5881a96638b63475bf48d506dbb659c481279790.
Diffstat (limited to '')
-rw-r--r--ui.c2
1 files changed, 1 insertions, 1 deletions
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++;