patch 8.2.3914: various spelling mistakes in comments
Problem: Various spelling mistakes in comments.
Solution: Fix the mistakes. (Dominique Pellé, closes #9416)
diff --git a/src/winclip.c b/src/winclip.c
index db88e67..560759e 100644
--- a/src/winclip.c
+++ b/src/winclip.c
@@ -147,7 +147,7 @@
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 @@
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)
{