0
0
mirror of https://github.com/vim/vim.git synced 2025-10-02 05:04:20 -04:00

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

@@ -3041,7 +3041,7 @@ get_scroll_flags(void)
if (!is_window_onscreen(s_hwnd))
return SW_INVALIDATE;
// Check if there is an window (partly) on top of us.
// Check if there is a window (partly) on top of us.
GetWindowRect(s_hwnd, &rcVim);
for (hwnd = s_hwnd; (hwnd = GetWindow(hwnd, GW_HWNDPREV)) != (HWND)0; )
if (IsWindowVisible(hwnd))
@@ -5740,7 +5740,7 @@ GetCompositionString_inUCS2(HIMC hIMC, DWORD GCS, int *lenp)
if (!pImmGetContext)
return NULL; // no imm32.dll
// Try Unicode; this'll always work on NT regardless of codepage.
// Try Unicode; this will always work on NT regardless of codepage.
ret = pImmGetCompositionStringW(hIMC, GCS, NULL, 0);
if (ret == 0)
return NULL; // empty
@@ -5757,7 +5757,7 @@ GetCompositionString_inUCS2(HIMC hIMC, DWORD GCS, int *lenp)
return (short_u *)wbuf;
}
// ret < 0; we got an error, so try the ANSI version. This'll work
// ret < 0; we got an error, so try the ANSI version. This will work
// on 9x/ME, but only if the codepage happens to be set to whatever
// we're inputting.
ret = pImmGetCompositionStringA(hIMC, GCS, NULL, 0);
@@ -7390,8 +7390,8 @@ add_dialog_element(
*p++ = 0; // advance pointer over nExtraStuff WORD - 2 more
return p; //total = 15+ (strlen(caption)) words
// = 30 + 2(strlen(caption) bytes reqd
return p; // total = 15 + strlen(caption) words
// bytes read = 2 * total
}