Issue #403 PR #641 - Hot fix for column tabs count

This commit is contained in:
Geoff McLane 2017-11-22 15:00:14 +01:00
parent 3b0c3779fc
commit d23e22589e

View file

@ -269,7 +269,6 @@ uint TY_(ReadChar)( StreamIn *in )
if (c == '\t')
{
Bool keeptabs = cfg( in->doc, TidyKeepTabs );
in->curcol++;
if (!keeptabs) {
uint tabsize = cfg(in->doc, TidyTabSize);
in->tabs = tabsize > 0 ?
@ -277,6 +276,7 @@ uint TY_(ReadChar)( StreamIn *in )
: 0;
c = ' ';
}
in->curcol++;
break;
}