Module: wine
Branch: master
Commit: a5ff4b80887aa7b83e0aff2120060ccd418e0c83
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a5ff4b80887aa7b83e0aff212…
Author: Francois Gouget <fgouget(a)free.fr>
Date: Tue Jan 29 07:06:07 2013 +0100
Assorted spelling fixes.
---
dlls/comctl32/listview.c | 6 +++---
dlls/msvcrt/file.c | 4 ++--
dlls/usp10/tests/usp10.c | 6 +++---
dlls/ws2_32/tests/sock.c | 2 +-
programs/cmd/wcmdmain.c | 4 ++--
5 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c
index a87ab98..fd09ffb 100644
--- a/dlls/comctl32/listview.c
+++ b/dlls/comctl32/listview.c
@@ -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.
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
for inserted item when processing LVN_GETDISPINFO.
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 (lpLVItem->state & LVIS_FOCUSED)
@@ -8861,7 +8861,7 @@ static BOOL LISTVIEW_SetItemState(LISTVIEW_INFO *infoPtr, INT nItem, const LVITE
UINT oldstate = 0;
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))
return TRUE;
diff --git a/dlls/msvcrt/file.c b/dlls/msvcrt/file.c
index d80a99a..d9b0e19 100644
--- a/dlls/msvcrt/file.c
+++ b/dlls/msvcrt/file.c
@@ -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))
written += tmp;
if (written != sizeof(utf8_bom)) {
- WARN("error writting BOM\n");
+ WARN("error writing BOM\n");
CloseHandle(hand);
msvcrt_set_errno(GetLastError());
return *MSVCRT__errno();
@@ -1935,7 +1935,7 @@ int CDECL MSVCRT__wsopen_s( int *fd, const MSVCRT_wchar_t* path, int oflags, int
written += tmp;
if (written != sizeof(utf16_bom))
{
- WARN("error writting BOM\n");
+ WARN("error writing BOM\n");
CloseHandle(hand);
msvcrt_set_errno(GetLastError());
return *MSVCRT__errno();
diff --git a/dlls/usp10/tests/usp10.c b/dlls/usp10/tests/usp10.c
index 9f7088d..7752f2c 100644
--- a/dlls/usp10/tests/usp10.c
+++ b/dlls/usp10/tests/usp10.c
@@ -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 (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[1] == pwOutGlyphs2[1], "glyph incorreclty altered\n");
- ok(pwOutGlyphs3[2] == pwOutGlyphs2[2], "glyph incorreclty altered\n");
- ok(pwOutGlyphs3[3] == pwOutGlyphs2[3], "glyph incorreclty altered\n");
+ ok(pwOutGlyphs3[1] == pwOutGlyphs2[1], "glyph incorrectly altered\n");
+ ok(pwOutGlyphs3[2] == pwOutGlyphs2[2], "glyph incorrectly altered\n");
+ ok(pwOutGlyphs3[3] == pwOutGlyphs2[3], "glyph incorrectly altered\n");
ok(pwOutGlyphs3[4] == pwOutGlyphs2[4], "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");
diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c
index 4b4b99a..ebde182 100644
--- a/dlls/ws2_32/tests/sock.c
+++ b/dlls/ws2_32/tests/sock.c
@@ -4786,7 +4786,7 @@ static void test_AcceptEx(void)
iret = getsockname( connector, (struct sockaddr *)&peerAddress, &remoteSize);
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,
(struct sockaddr **)&readBindAddress, &localSize,
(struct sockaddr **)&readRemoteAddress, &remoteSize);
diff --git a/programs/cmd/wcmdmain.c b/programs/cmd/wcmdmain.c
index fbe5794..ee64253 100644
--- a/programs/cmd/wcmdmain.c
+++ b/programs/cmd/wcmdmain.c
@@ -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
* read in and not again, except for 'for' variable substitution.
* eg. As evidence, "echo %1 && shift && echo %1" or "echo %%path%%"
- * atExecute is TRUE when the expansion is occuring as the command is executed
- * rather than at parse time, ie delayed expansion and for loops need to be
+ * atExecute is TRUE when the expansion is occurring as the command is executed
+ * rather than at parse time, i.e. delayed expansion and for loops need to be
* processed
*/
static void handleExpansion(WCHAR *cmd, BOOL atExecute, BOOL delayed) {