1
0
forked from aniani/vim

patch 8.2.3914: various spelling mistakes in comments

Problem:    Various spelling mistakes in comments.
Solution:   Fix the mistakes. (Dominique Pellé, closes #9416)
This commit is contained in:
Dominique Pelle
2021-12-27 17:21:41 +00:00
committed by Bram Moolenaar
parent 5da36052a4
commit af4a61a85d
58 changed files with 109 additions and 107 deletions

View File

@@ -147,7 +147,7 @@ MultiByteToWideChar_alloc(UINT cp, DWORD flags,
LPWSTR *out, int *outlen)
{
*outlen = MultiByteToWideChar(cp, flags, in, inlen, 0, 0);
// Add one one word to avoid a zero-length alloc().
// Add one word to avoid a zero-length alloc().
*out = ALLOC_MULT(WCHAR, *outlen + 1);
if (*out != NULL)
{
@@ -167,7 +167,7 @@ WideCharToMultiByte_alloc(UINT cp, DWORD flags,
LPCSTR def, LPBOOL useddef)
{
*outlen = WideCharToMultiByte(cp, flags, in, inlen, NULL, 0, def, useddef);
// Add one one byte to avoid a zero-length alloc().
// Add one byte to avoid a zero-length alloc().
*out = alloc(*outlen + 1);
if (*out != NULL)
{