Fixed issue 160, diff viewer in code reviews does not indent correctly.

dev
Loic d'Anterroches 2009-03-26 15:21:16 +01:00
parent 1b2a5b2718
commit f028682900
1 changed files with 1 additions and 0 deletions

View File

@ -172,6 +172,7 @@ class IDF_Diff
public static function padLine($line)
{
$line = str_replace("\t", ' ', $line);
$n = strlen($line);
for ($i=0;$i<$n;$i++) {
if (substr($line, $i, 1) != ' ') {