Skip to content

Commit d23e225

Browse files
committed
Issue #403 PR #641 - Hot fix for column tabs count
1 parent 3b0c377 commit d23e225

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/streamio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,14 +269,14 @@ uint TY_(ReadChar)( StreamIn *in )
269269
if (c == '\t')
270270
{
271271
Bool keeptabs = cfg( in->doc, TidyKeepTabs );
272-
in->curcol++;
273272
if (!keeptabs) {
274273
uint tabsize = cfg(in->doc, TidyTabSize);
275274
in->tabs = tabsize > 0 ?
276275
tabsize - ((in->curcol - 1) % tabsize) - 1
277276
: 0;
278277
c = ' ';
279278
}
279+
in->curcol++;
280280
break;
281281
}
282282

0 commit comments

Comments
 (0)