Fixed in a dirty way, should be improved.

dev
Loic d'Anterroches 2009-02-02 21:47:50 +01:00
parent b7d1afb01e
commit 47f84bcb55
1 changed files with 2 additions and 1 deletions

View File

@ -256,10 +256,11 @@ class IDF_Diff
} }
} }
if (!$exists) { if (!$exists) {
$orig = isset($orig_lines[$lc-1]) ? $orig_lines[$lc-1] : '';
$n_chunk[] = array( $n_chunk[] = array(
$lc, $lc,
$chunk[0][1]-$chunk[0][0]+$lc, $chunk[0][1]-$chunk[0][0]+$lc,
$orig_lines[$lc-1] $orig
); );
} }
} }