Mercurial > vim
comparison src/memline.c @ 26771:fc859aea8cec v8.2.3914
patch 8.2.3914: various spelling mistakes in comments
Commit: https://github.com/vim/vim/commit/af4a61a85d6e8cacc35324f266934bc463a21673
Author: Dominique Pelle <dominique.pelle@gmail.com>
Date: Mon Dec 27 17:21:41 2021 +0000
patch 8.2.3914: various spelling mistakes in comments
Problem: Various spelling mistakes in comments.
Solution: Fix the mistakes. (Dominique Pell?, closes https://github.com/vim/vim/issues/9416)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 27 Dec 2021 18:30:05 +0100 |
parents | 2815b25993fb |
children | d02d40f0261c |
comparison
equal
deleted
inserted
replaced
26770:15ff3f2e0d58 | 26771:fc859aea8cec |
---|---|
4716 /* | 4716 /* |
4717 * If we start editing a new file, e.g. "test.doc", which resides on an | 4717 * If we start editing a new file, e.g. "test.doc", which resides on an |
4718 * MSDOS compatible filesystem, it is possible that the file | 4718 * MSDOS compatible filesystem, it is possible that the file |
4719 * "test.doc.swp" which we create will be exactly the same file. To avoid | 4719 * "test.doc.swp" which we create will be exactly the same file. To avoid |
4720 * this problem we temporarily create "test.doc". Don't do this when the | 4720 * this problem we temporarily create "test.doc". Don't do this when the |
4721 * check below for a 8.3 file name is used. | 4721 * check below for an 8.3 file name is used. |
4722 */ | 4722 */ |
4723 if (!(buf->b_p_sn || buf->b_shortname) && buf_fname != NULL | 4723 if (!(buf->b_p_sn || buf->b_shortname) && buf_fname != NULL |
4724 && mch_getperm(buf_fname) < 0) | 4724 && mch_getperm(buf_fname) < 0) |
4725 dummyfd = mch_fopen((char *)buf_fname, "w"); | 4725 dummyfd = mch_fopen((char *)buf_fname, "w"); |
4726 #endif | 4726 #endif |