Commit Diff
--- tog/tog.c +++ tog/tog.c @@ -177,7 +177,7 @@ format_line(wchar_t **wlinep, int *widthp, const char break; case -1: if (wline[i] == L'\t') - cols += TABSIZE; + cols += TABSIZE - (cols % TABSIZE); break; default: err = got_error_from_errno();