diff options
Diffstat (limited to 'Driver/HTMLDiagnostics.cpp')
-rw-r--r-- | Driver/HTMLDiagnostics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Driver/HTMLDiagnostics.cpp b/Driver/HTMLDiagnostics.cpp index df2bb06636..7f6a369de7 100644 --- a/Driver/HTMLDiagnostics.cpp +++ b/Driver/HTMLDiagnostics.cpp @@ -205,7 +205,7 @@ void HTMLDiagnostics::HandlePiece(Rewriter& R, unsigned PosNo = 0; for (const char* c = LineStart; c != TokLogicalPtr; ++c) - PosNo += *c == '\t' ? 8 : 1; + PosNo += *c == '\t' ? 4 : 1; // Create the html for the message. |