From: Peter O. <obe...@us...> - 2010-07-19 15:23:20
|
Update of /cvsroot/ltp/utils/analysis/lcov/bin In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv29952 Modified Files: genhtml Log Message: genhtml: fix branch formatting code Fix the vertical alignment of the HTML representation of branches in the source code view. Index: genhtml =================================================================== RCS file: /cvsroot/ltp/utils/analysis/lcov/bin/genhtml,v retrieving revision 1.48 retrieving revision 1.49 diff -C2 -d -r1.48 -r1.49 *** genhtml 19 Jul 2010 12:12:43 -0000 1.48 --- genhtml 19 Jul 2010 15:23:10 -0000 1.49 *************** *** 3759,3763 **** # Split the block into several lines foreach $branch (@{$block}) { ! if ($line_len + $branch->[$BR_LEN] > $br_field_width) { # Start a new line if (($line_len + 1 <= $br_field_width) && --- 3759,3763 ---- # Split the block into several lines foreach $branch (@{$block}) { ! if ($line_len + $branch->[$BR_LEN] >= $br_field_width) { # Start a new line if (($line_len + 1 <= $br_field_width) && |