summaryrefslogtreecommitdiff
path: root/src/viminfo.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-11-02 22:54:41 +0100
committerBram Moolenaar <Bram@vim.org>2019-11-02 22:54:41 +0100
commit32aa10203bd0b4b270def03311a4599f9ffdecc4 (patch)
tree4c0188d20dcc6873e6d96f5a28b59bedcb8ebb0c /src/viminfo.c
parent70def98a957620cc325d1ab6ee35f13187598693 (diff)
downloadvim-git-32aa10203bd0b4b270def03311a4599f9ffdecc4.tar.gz
patch 8.1.2243: typos in commentsv8.1.2243
Problem: Typos in comments. Solution: Fix the typos. (Dominique Pelle, closes #5160) Also adjust formatting a bit.
Diffstat (limited to 'src/viminfo.c')
-rw-r--r--src/viminfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/viminfo.c b/src/viminfo.c
index a49bb01da..fd2be5f5c 100644
--- a/src/viminfo.c
+++ b/src/viminfo.c
@@ -2307,7 +2307,7 @@ copy_viminfo_marks(
else
{
// No timestamp, must be written by an older Vim.
- // Assume all remaining buffers are older then
+ // Assume all remaining buffers are older than
// ours.
while (count < num_marked_files
&& buflist_used < buflist->ga_len)
@@ -3201,7 +3201,7 @@ write_viminfo(char_u *file, int forceit)
{
if (st_old.st_uid != tmp_st.st_uid)
// Changing the owner might fail, in which case the
- // file will now owned by the current user, oh well.
+ // file will now be owned by the current user, oh well.
vim_ignored = fchown(fileno(fp_out), st_old.st_uid, -1);
if (st_old.st_gid != tmp_st.st_gid
&& fchown(fileno(fp_out), -1, st_old.st_gid) == -1)