commit 718516bdb5ed72e3efabaeced654c82fa43b33ec from: Stefan Sperling date: Mon Feb 25 09:45:47 2019 UTC fix TABs causing line display overflow in tog format_line() commit - 34bc9ec93390147cb97d9ac809424af222337ef4 commit + 718516bdb5ed72e3efabaeced654c82fa43b33ec blob - 91c6bf2af3d21401e8599b7140a0790904a1cc0b blob + 8bf29ee3c5e04ab41632c6cea459492705649414 --- tog/tog.c +++ tog/tog.c @@ -864,7 +864,7 @@ format_line(wchar_t **wlinep, int *widthp, const char break; case -1: if (wline[i] == L'\t') - cols += TABSIZE - ((cols + 1) % TABSIZE); + cols += TABSIZE - ((cols + 1) % TABSIZE) + 1; i++; break; default: