Assorted spelling fixes.
This commit is contained in:
parent
68b22623b2
commit
a5ff4b8088
|
@ -4287,12 +4287,12 @@ static BOOL set_main_item(LISTVIEW_INFO *infoPtr, const LVITEMW *lpLVItem, BOOL
|
||||||
}
|
}
|
||||||
/* If we are asked to change focus, and we manage it, do it.
|
/* If we are asked to change focus, and we manage it, do it.
|
||||||
It's important to have all new item data stored at this point,
|
It's important to have all new item data stored at this point,
|
||||||
cause changing existing focus could result in redrawing operation,
|
because changing existing focus could result in a redrawing operation,
|
||||||
which in turn could ask for disp data, application should see all data
|
which in turn could ask for disp data, application should see all data
|
||||||
for inserted item when processing LVN_GETDISPINFO.
|
for inserted item when processing LVN_GETDISPINFO.
|
||||||
|
|
||||||
The way this works application will see nested item change notifications -
|
The way this works application will see nested item change notifications -
|
||||||
changed item notifications interrupted by ones from item loosing focus. */
|
changed item notifications interrupted by ones from item losing focus. */
|
||||||
if (stateMask & ~infoPtr->uCallbackMask & LVIS_FOCUSED)
|
if (stateMask & ~infoPtr->uCallbackMask & LVIS_FOCUSED)
|
||||||
{
|
{
|
||||||
if (lpLVItem->state & LVIS_FOCUSED)
|
if (lpLVItem->state & LVIS_FOCUSED)
|
||||||
|
@ -8861,7 +8861,7 @@ static BOOL LISTVIEW_SetItemState(LISTVIEW_INFO *infoPtr, INT nItem, const LVITE
|
||||||
UINT oldstate = 0;
|
UINT oldstate = 0;
|
||||||
BOOL notify;
|
BOOL notify;
|
||||||
|
|
||||||
/* special case optimization for recurring attemp to deselect all */
|
/* special case optimization for recurring attempt to deselect all */
|
||||||
if (lvItem.state == 0 && lvItem.stateMask == LVIS_SELECTED && !LISTVIEW_GetSelectedCount(infoPtr))
|
if (lvItem.state == 0 && lvItem.stateMask == LVIS_SELECTED && !LISTVIEW_GetSelectedCount(infoPtr))
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
|
|
|
@ -1920,7 +1920,7 @@ int CDECL MSVCRT__wsopen_s( int *fd, const MSVCRT_wchar_t* path, int oflags, int
|
||||||
sizeof(utf8_bom)-written, &tmp, NULL))
|
sizeof(utf8_bom)-written, &tmp, NULL))
|
||||||
written += tmp;
|
written += tmp;
|
||||||
if (written != sizeof(utf8_bom)) {
|
if (written != sizeof(utf8_bom)) {
|
||||||
WARN("error writting BOM\n");
|
WARN("error writing BOM\n");
|
||||||
CloseHandle(hand);
|
CloseHandle(hand);
|
||||||
msvcrt_set_errno(GetLastError());
|
msvcrt_set_errno(GetLastError());
|
||||||
return *MSVCRT__errno();
|
return *MSVCRT__errno();
|
||||||
|
@ -1935,7 +1935,7 @@ int CDECL MSVCRT__wsopen_s( int *fd, const MSVCRT_wchar_t* path, int oflags, int
|
||||||
written += tmp;
|
written += tmp;
|
||||||
if (written != sizeof(utf16_bom))
|
if (written != sizeof(utf16_bom))
|
||||||
{
|
{
|
||||||
WARN("error writting BOM\n");
|
WARN("error writing BOM\n");
|
||||||
CloseHandle(hand);
|
CloseHandle(hand);
|
||||||
msvcrt_set_errno(GetLastError());
|
msvcrt_set_errno(GetLastError());
|
||||||
return *MSVCRT__errno();
|
return *MSVCRT__errno();
|
||||||
|
|
|
@ -1791,9 +1791,9 @@ static void test_ScriptGetCMap(HDC hdc, unsigned short pwOutGlyphs[256])
|
||||||
ok (hr == S_OK, "ScriptGetCMap should return S_OK not (%08x)\n", hr);
|
ok (hr == S_OK, "ScriptGetCMap should return S_OK not (%08x)\n", hr);
|
||||||
ok (psc != NULL, "psc should not be null and have SCRIPT_CACHE buffer address\n");
|
ok (psc != NULL, "psc should not be null and have SCRIPT_CACHE buffer address\n");
|
||||||
ok(pwOutGlyphs3[0] == pwOutGlyphs2[0], "glyph incorrectly altered\n");
|
ok(pwOutGlyphs3[0] == pwOutGlyphs2[0], "glyph incorrectly altered\n");
|
||||||
ok(pwOutGlyphs3[1] == pwOutGlyphs2[1], "glyph incorreclty altered\n");
|
ok(pwOutGlyphs3[1] == pwOutGlyphs2[1], "glyph incorrectly altered\n");
|
||||||
ok(pwOutGlyphs3[2] == pwOutGlyphs2[2], "glyph incorreclty altered\n");
|
ok(pwOutGlyphs3[2] == pwOutGlyphs2[2], "glyph incorrectly altered\n");
|
||||||
ok(pwOutGlyphs3[3] == pwOutGlyphs2[3], "glyph incorreclty altered\n");
|
ok(pwOutGlyphs3[3] == pwOutGlyphs2[3], "glyph incorrectly altered\n");
|
||||||
ok(pwOutGlyphs3[4] == pwOutGlyphs2[4], "glyph not mirrored correctly\n");
|
ok(pwOutGlyphs3[4] == pwOutGlyphs2[4], "glyph not mirrored correctly\n");
|
||||||
ok(pwOutGlyphs3[5] == pwOutGlyphs2[5], "glyph not mirrored correctly\n");
|
ok(pwOutGlyphs3[5] == pwOutGlyphs2[5], "glyph not mirrored correctly\n");
|
||||||
ok(pwOutGlyphs3[6] == pwOutGlyphs2[6], "glyph not mirrored correctly\n");
|
ok(pwOutGlyphs3[6] == pwOutGlyphs2[6], "glyph not mirrored correctly\n");
|
||||||
|
|
|
@ -4786,7 +4786,7 @@ static void test_AcceptEx(void)
|
||||||
iret = getsockname( connector, (struct sockaddr *)&peerAddress, &remoteSize);
|
iret = getsockname( connector, (struct sockaddr *)&peerAddress, &remoteSize);
|
||||||
ok( !iret, "getsockname failed.\n");
|
ok( !iret, "getsockname failed.\n");
|
||||||
|
|
||||||
/* Check if the buffer from AcceptEx is decoded correclty */
|
/* Check if the buffer from AcceptEx is decoded correctly */
|
||||||
pGetAcceptExSockaddrs(buffer, 2, sizeof(struct sockaddr_in) + 16, sizeof(struct sockaddr_in) + 16,
|
pGetAcceptExSockaddrs(buffer, 2, sizeof(struct sockaddr_in) + 16, sizeof(struct sockaddr_in) + 16,
|
||||||
(struct sockaddr **)&readBindAddress, &localSize,
|
(struct sockaddr **)&readBindAddress, &localSize,
|
||||||
(struct sockaddr **)&readRemoteAddress, &remoteSize);
|
(struct sockaddr **)&readRemoteAddress, &remoteSize);
|
||||||
|
|
|
@ -797,8 +797,8 @@ static WCHAR *WCMD_expand_envvar(WCHAR *start, WCHAR startchar)
|
||||||
* Expand the command. Native expands lines from batch programs as they are
|
* Expand the command. Native expands lines from batch programs as they are
|
||||||
* read in and not again, except for 'for' variable substitution.
|
* read in and not again, except for 'for' variable substitution.
|
||||||
* eg. As evidence, "echo %1 && shift && echo %1" or "echo %%path%%"
|
* eg. As evidence, "echo %1 && shift && echo %1" or "echo %%path%%"
|
||||||
* atExecute is TRUE when the expansion is occuring as the command is executed
|
* atExecute is TRUE when the expansion is occurring as the command is executed
|
||||||
* rather than at parse time, ie delayed expansion and for loops need to be
|
* rather than at parse time, i.e. delayed expansion and for loops need to be
|
||||||
* processed
|
* processed
|
||||||
*/
|
*/
|
||||||
static void handleExpansion(WCHAR *cmd, BOOL atExecute, BOOL delayed) {
|
static void handleExpansion(WCHAR *cmd, BOOL atExecute, BOOL delayed) {
|
||||||
|
|
Loading…
Reference in New Issue