fix TABs causing line display overflow in tog format_line()
diff --git a/tog/tog.c b/tog/tog.c
index 91c6bf2..8bf29ee 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);
+ cols += TABSIZE - ((cols + 1) % TABSIZE) + 1;
i++;
break;
default: