Changeset 531 in svn for trunk/coverager/coverager.php


Ignore:
Timestamp:
2008-02-20T04:34:03Z (8 years ago)
Author:
Xuefer
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.