Skip to content

Commit bca5d0d

Browse files
versatamai2012
authored andcommitted
Fix #9501: htmlreport: Line number position is shifted (danmar#2480)
The 1 pixel dotted border that is drawn around every Cppcheck error message adds 2 extra pixels for every line with an error message. For more than very few error messages in a file the discrepancy is clearly visible and line numbering gets wrong. This commit removes the dotted border as it is not necessary. The error message is highlighted with a red background and is still clearly visible.
1 parent 872d531 commit bca5d0d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

htmlreport/cppcheck-htmlreport

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ h1 {
4343
4444
.error2 {
4545
background-color: #faa;
46-
border: 1px dotted black;
4746
display: inline-block;
4847
margin-left: 4px;
4948
}

0 commit comments

Comments
 (0)