Project

General

Profile

Defect #7618 » unified_diff.rb.diff

Toshi MARUYAMA, 2011-02-14 02:36

View differences:

lib/redmine/unified_diff.rb
28 28
      diff_table = DiffTable.new(diff_type)
29 29
      diff.each do |line|
30 30
        unless diff_table.add_line line
31
          self << diff_table if diff_table.length > 1
31
          self << diff_table
32 32
          diff_table = DiffTable.new(diff_type)
33 33
        end
34 34
        lines += 1
(1-1/3)