Mercurial > vim
diff src/winclip.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 | 599b29b6e540 |
children | a52697bcffa6 |
line wrap: on
line diff
--- a/src/winclip.c +++ b/src/winclip.c @@ -147,7 +147,7 @@ MultiByteToWideChar_alloc(UINT cp, DWORD 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 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) {