commit e7ea91f83ba0807482361c2a1695b5117ce08d8f from: Stefan Sperling date: Sun Jul 08 16:37:22 2018 UTC in tog, fix width calculation of lines with tabs commit - eb77ee116adf68529f88c2ab3de1ce2aaf0c1b52 commit + e7ea91f83ba0807482361c2a1695b5117ce08d8f blob - 64c02914942e0d4c3bde966d9da8212cc05aa1a4 blob + c66824027f131e9b4a8456718212eb87e469c90c --- 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();