Mercurial > vim
comparison src/diff.c @ 18498:9e6d5a4abb1c v8.1.2243
patch 8.1.2243: typos in comments
Commit: https://github.com/vim/vim/commit/32aa10203bd0b4b270def03311a4599f9ffdecc4
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 2 22:54:41 2019 +0100
patch 8.1.2243: typos in comments
Problem: Typos in comments.
Solution: Fix the typos. (Dominique Pelle, closes https://github.com/vim/vim/issues/5160) Also adjust
formatting a bit.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 02 Nov 2019 23:00:06 +0100 |
parents | c8a53c0daeed |
children | 41484f342f80 |
comparison
equal
deleted
inserted
replaced
18497:14e9f08eec14 | 18498:9e6d5a4abb1c |
---|---|
417 else | 417 else |
418 { | 418 { |
419 off = 0; | 419 off = 0; |
420 if (last < line2) | 420 if (last < line2) |
421 { | 421 { |
422 /* 2. delete at end of of diff */ | 422 /* 2. delete at end of diff */ |
423 dp->df_count[idx] -= last - lnum_deleted + 1; | 423 dp->df_count[idx] -= last - lnum_deleted + 1; |
424 if (dp->df_next != NULL | 424 if (dp->df_next != NULL |
425 && dp->df_next->df_lnum[idx] - 1 <= line2) | 425 && dp->df_next->df_lnum[idx] - 1 <= line2) |
426 { | 426 { |
427 /* delete continues in next diff, only do | 427 /* delete continues in next diff, only do |