From 40f76b9bc07feb57440819fe107f83e15bafed50 Mon Sep 17 00:00:00 2001 From: tititiou36 <679652+tititiou36@users.noreply.github.com> Date: Thu, 30 May 2019 10:37:52 +0200 Subject: [PATCH] Update cppcheck-htmlreport (#1858) Line 632 generates 5 , so there is no point in restricting to colspan='4' everywhere else. Use the full width available. --- htmlreport/cppcheck-htmlreport | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/htmlreport/cppcheck-htmlreport b/htmlreport/cppcheck-htmlreport index 0d1da876d..a48f643c4 100755 --- a/htmlreport/cppcheck-htmlreport +++ b/htmlreport/cppcheck-htmlreport @@ -525,8 +525,8 @@ if __name__ == '__main__': lexer = guess_lexer_for_filename(source_filename, '') except: sys.stderr.write("ERROR: Couldn't determine lexer for the file' " + source_filename + " '. Won't be able to syntax highlight this file.") - output_file.write("\n Could not generated content because pygments failed to retrieve the determine code type.") - output_file.write("\n Sorry about this.") + output_file.write("\n Could not generated content because pygments failed to retrieve the determine code type.") + output_file.write("\n Sorry about this.") continue if options.source_encoding: @@ -589,16 +589,16 @@ if __name__ == '__main__': ' LineIdCWESeverityMessage') for filename, data in sorted(files.items()): if filename in decode_errors: # don't print a link but a note - output_file.write("\n %s" % (filename)) - output_file.write("\n Could not generated due to UnicodeDecodeError") + output_file.write("\n %s" % (filename)) + output_file.write("\n Could not generated due to UnicodeDecodeError") else: if filename.endswith('*'): # assume unmatched suppression output_file.write( - "\n %s" % + "\n %s" % (filename)) else: output_file.write( - "\n %s" % + "\n %s" % (data['htmlfile'], filename)) for error in sorted(data['errors'], key=lambda k: k['line']):