Commit 67ceb59d0a2b3340c3a221bacf86ccc0b85895ee

Stefan Sperling 2019-03-03T11:34:53

revert 718516bdb5ed72e3efabaeced654c82fa43b33ec; broke 'tog blame'

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tog/tog.c b/tog/tog.c
index ac937f5..bcd487c 100644
--- a/tog/tog.c
+++ b/tog/tog.c
@@ -864,7 +864,7 @@ format_line(wchar_t **wlinep, int *widthp, const char *line, int wlimit)
 			break;
 		case -1:
 			if (wline[i] == L'\t')
-				cols += TABSIZE - ((cols + 1) % TABSIZE) + 1;
+				cols += TABSIZE - ((cols + 1) % TABSIZE);
 			i++;
 			break;
 		default: