diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-03-31 23:14:05 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-03-31 23:14:05 +0000 |
commit | 8fb001684fb7740d6bed973f927bc33bc7473ff7 (patch) | |
tree | b3132601db70a10351f6188004cb6a0150d92eed /Driver/HTMLDiagnostics.cpp | |
parent | 2aa13b5cb0e055774c98cd58d1e40e3ea11481d5 (diff) |
Better handling for tabs with message bubbles.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49001 91177308-0d34-0410-b5e6-96231b3b80d8
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. |