commit | 3bcfc6edc081df57ecb9f5fcd61b328630f2398b | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Mon Mar 31 23:14:05 2008 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Mon Mar 31 23:14:05 2008 +0000 |
tree | 611941b1f9bb8fea280a5c19951064c0d3e023ff | |
parent | f8be3836e3ddfd813627c96bf38ad13d1311fe64 [diff] [blame] |
Better handling for tabs with message bubbles. llvm-svn: 49001
diff --git a/clang/Driver/HTMLDiagnostics.cpp b/clang/Driver/HTMLDiagnostics.cpp index df2bb06..7f6a369 100644 --- a/clang/Driver/HTMLDiagnostics.cpp +++ b/clang/Driver/HTMLDiagnostics.cpp
@@ -205,7 +205,7 @@ 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.