aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2021-10-01 17:53:27 -0400
committerGitHub <noreply@github.com>2021-10-01 17:53:27 -0400
commita940952fe2bb85981a2037cff5acb201dd179f4d (patch)
treeaab4558c869be7e906b2fd466fe6594c2693f1eb /src
parent1efbd4980f5a6b2cc4b12c5bd3af7972fc6ea7f6 (diff)
parent19ab0f22ccf1792f8dd7d51c5a2ed0999088b777 (diff)
downloadrneovim-a940952fe2bb85981a2037cff5acb201dd179f4d.tar.gz
rneovim-a940952fe2bb85981a2037cff5acb201dd179f4d.tar.bz2
rneovim-a940952fe2bb85981a2037cff5acb201dd179f4d.zip
Merge pull request #15861 from dundargoc/refactor/xdiff
refactor: update path to xdiff in comments
Diffstat (limited to 'src')
-rw-r--r--src/nvim/lua/xdiff.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/lua/xdiff.c b/src/nvim/lua/xdiff.c
index 2a1f39083c..3955fbe72c 100644
--- a/src/nvim/lua/xdiff.c
+++ b/src/nvim/lua/xdiff.c
@@ -53,8 +53,8 @@ static int write_string(void *priv, mmbuffer_t *mb, int nbuf)
static int hunk_locations_cb(long start_a, long count_a, long start_b, long count_b, void *cb_data)
{
// Mimic extra offsets done by xdiff, see:
- // src/nvim/xdiff/xemit.c:284
- // src/nvim/xdiff/xutils.c:(356,368)
+ // src/xdiff/xemit.c:284
+ // src/xdiff/xutils.c:(356,368)
if (count_a > 0) {
start_a += 1;
}
@@ -83,8 +83,8 @@ static int hunk_locations_cb(long start_a, long count_a, long start_b, long coun
static int call_on_hunk_cb(long start_a, long count_a, long start_b, long count_b, void *cb_data)
{
// Mimic extra offsets done by xdiff, see:
- // src/nvim/xdiff/xemit.c:284
- // src/nvim/xdiff/xutils.c:(356,368)
+ // src/xdiff/xemit.c:284
+ // src/xdiff/xutils.c:(356,368)
if (count_a > 0) {
start_a += 1;
}