in tog, fix width calculation of lines with tabs
diff --git a/tog/tog.c b/tog/tog.c
index 64c0291..c668240 100644
--- a/tog/tog.c
+++ b/tog/tog.c
@@ -177,7 +177,7 @@ format_line(wchar_t **wlinep, int *widthp, const char *line, int wlimit)
break;
case -1:
if (wline[i] == L'\t')
- cols += TABSIZE;
+ cols += TABSIZE - (cols % TABSIZE);
break;
default:
err = got_error_from_errno();