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:
committed by
Bram Moolenaar
parent
5da36052a4
commit
af4a61a85d
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user