Changeset 9fb4213 in git


Ignore:
Timestamp:
2008-02-20T04:34:03Z (12 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
df36790
Parents:
45947b1
Message:

avoid losing last line

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@531 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • coverager/coverager.php

    r45947b1 r9fb4213  
    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.