Fix unnecessary modified sign in modified-and-removed diff.

This bug didn't affect anything because the unnecessary sign was
overwritten by the correct sign.
This commit is contained in:
Andy Stewart
2014-01-06 14:54:04 +01:00
parent c81d897d60
commit 65b050ba2e

View File

@@ -151,5 +151,5 @@ function! diff#process_modified_and_removed(modifications, from_count, to_count,
call add(a:modifications, [line_number, 'modified']) call add(a:modifications, [line_number, 'modified'])
let offset += 1 let offset += 1
endwhile endwhile
call add(a:modifications, [a:to_line + offset - 1, 'modified_removed']) let a:modifications[-1] = [a:to_line + offset - 1, 'modified_removed']
endfunction endfunction