Changeset 531 for trunk


Ignore:
Timestamp:
2008-02-20T05:34:03+01:00 (7 years ago)
Author:
moo
Message:

avoid losing last line

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/coverager/coverager.php

    r530 r531  
    114114                $lines = explode('<br />', $lines); 
    115115                $last = array_pop($lines); 
    116                 $lines[count($lines) - 1] = $last; 
     116                $lines[count($lines) - 1] .= $last; 
    117117                $filecov = sprint_cov($fileinfo['cov'], $lines, false); 
    118118                unset($source); 
Note: See TracChangeset for help on using the changeset viewer.