0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.1.2243: typos in comments

Problem:    Typos in comments.
Solution:   Fix the typos. (Dominique Pelle, closes #5160)  Also adjust
            formatting a bit.
This commit is contained in:
Bram Moolenaar
2019-11-02 22:54:41 +01:00
parent 70def98a95
commit 32aa10203b
28 changed files with 47 additions and 45 deletions

View File

@@ -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)