Skip to content

Commit 3cb3f7c

Browse files
authored
Merge pull request #23 from Truoris/patch-1
correct line number
2 parents f5737a6 + fa16951 commit 3cb3f7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Diff/Renderer/Html/Inline.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ public function render()
128128
foreach($change['changed']['lines'] as $no => $line) {
129129
$toLine = $change['changed']['offset'] + $no + 1;
130130
$html .= '<tr>';
131-
$html .= '<th>'.$toLine.'</th>';
132131
$html .= '<th>&nbsp;</th>';
132+
$html .= '<th>'.$toLine.'</th>';
133133
$html .= '<td class="Right"><span>'.$line.'</span></td>';
134134
$html .= '</tr>';
135135
}
@@ -140,4 +140,4 @@ public function render()
140140
$html .= '</table>';
141141
return $html;
142142
}
143-
}
143+
}

0 commit comments

Comments
 (0)