Index: trunk/phase3/includes/diff/HTMLDiff.php |
— | — | @@ -323,7 +323,7 @@ |
324 | 324 | } else { |
325 | 325 | $prevResult = new LastCommonParentResult(); |
326 | 326 | $prevResult->parent = $this->bodyNode; |
327 | | - $prevResult->indexInLastCommonParent = 0; |
| 327 | + $prevResult->indexInLastCommonParent = -1; |
328 | 328 | } |
329 | 329 | if (isset($nextleaf)) { |
330 | 330 | $nextResult = $nextLeaf->getLastCommonParent($deletedNodes[count($deletedNodes) - 1]); |