diff options
Diffstat (limited to 'src/gui_w32.c')
-rw-r--r-- | src/gui_w32.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c index b879aa3c88..4edce2e29f 100644 --- a/src/gui_w32.c +++ b/src/gui_w32.c @@ -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 } |