summaryrefslogtreecommitdiffstats
path: root/src/diff.c
diff options
context:
space:
mode:
authorDominique Pelle <dominique.pelle@gmail.com>2021-12-27 17:21:41 +0000
committerBram Moolenaar <Bram@vim.org>2021-12-27 17:21:41 +0000
commitaf4a61a85d6e8cacc35324f266934bc463a21673 (patch)
tree3b2e75b8a36bc8e79d2bc407d929a84b69fd0e0c /src/diff.c
parent5da36052a4bb0f3a9747ec3a8ab9d85e058e39fa (diff)
patch 8.2.3914: various spelling mistakes in commentsv8.2.3914
Problem: Various spelling mistakes in comments. Solution: Fix the mistakes. (Dominique Pellé, closes #9416)
Diffstat (limited to 'src/diff.c')
-rw-r--r--src/diff.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/diff.c b/src/diff.c
index 45c5e0b9d6..e9367b568a 100644
--- a/src/diff.c
+++ b/src/diff.c
@@ -693,11 +693,11 @@ diff_redraw(
if (wp_other != NULL && curwin->w_p_scb)
{
if (used_max_fill_curwin)
- // The current window was set to used the maximum number of filler
+ // The current window was set to use the maximum number of filler
// lines, may need to reduce them.
diff_set_topline(wp_other, curwin);
else if (used_max_fill_other)
- // The other window was set to used the maximum number of filler
+ // The other window was set to use the maximum number of filler
// lines, may need to reduce them.
diff_set_topline(curwin, wp_other);
}
@@ -1595,7 +1595,7 @@ ex_diffoff(exarg_T *eap)
diff_clear(curtab);
}
- // Remove "hor" from from 'scrollopt' if there are no diff windows left.
+ // Remove "hor" from 'scrollopt' if there are no diff windows left.
if (!diffwin && vim_strchr(p_sbo, 'h') != NULL)
do_cmdline_cmd((char_u *)"set sbo-=hor");
}