Mercurial > vim
diff src/viminfo.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 | 18d7337b6837 |
children | de2d1820215a |
line wrap: on
line diff
--- 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)