diff options
author | Dominique Pelle <dominique.pelle@gmail.com> | 2021-12-27 17:21:41 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-27 17:21:41 +0000 |
commit | af4a61a85d6e8cacc35324f266934bc463a21673 (patch) | |
tree | 3b2e75b8a36bc8e79d2bc407d929a84b69fd0e0c /src/winclip.c | |
parent | 5da36052a4bb0f3a9747ec3a8ab9d85e058e39fa (diff) |
patch 8.2.3914: various spelling mistakes in commentsv8.2.3914
Problem: Various spelling mistakes in comments.
Solution: Fix the mistakes. (Dominique Pellé, closes #9416)
Diffstat (limited to 'src/winclip.c')
-rw-r--r-- | src/winclip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/winclip.c b/src/winclip.c index db88e6787d..560759efec 100644 --- a/src/winclip.c +++ b/src/winclip.c @@ -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) { |