diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/unified_diff.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/unified_diff.rb b/lib/redmine/unified_diff.rb index 65d880dd7..430b1254a 100644 --- a/lib/redmine/unified_diff.rb +++ b/lib/redmine/unified_diff.rb @@ -36,7 +36,7 @@ module Redmine end unless diff_table.add_line line line.force_encoding(line_encoding) if line_encoding - self << diff_table if diff_table.length > 1 + self << diff_table if diff_table.length > 0 diff_table = DiffTable.new(diff_type) end lines += 1 |