From 653354ab254e70eb846aa920ff43de75bb30773d Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Wed, 3 Jul 2013 12:11:13 +0200 Subject: [PATCH] Assorted spelling fixes. --- dlls/shell32/iconcache.c | 6 +++--- dlls/shell32/tests/shelllink.c | 6 ++++-- dlls/user32/tests/edit.c | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/dlls/shell32/iconcache.c b/dlls/shell32/iconcache.c index 91f0eb50be6..e2300f136ab 100644 --- a/dlls/shell32/iconcache.c +++ b/dlls/shell32/iconcache.c @@ -880,11 +880,11 @@ INT WINAPI SHGetIconOverlayIndexW(LPCWSTR pszIconPath, INT iIconIndex) /**************************************************************************** * SHGetStockIconInfo [SHELL32.@] * - * Receive informations for builtin icons + * Receive information for builtin icons * * PARAMS - * id [I] selected icon-id to get informations - * flags [I] select informations to receive + * id [I] selected icon-id to get information for + * flags [I] selects the information to receive * sii [IO] SHSTOCKICONINFO structure to fill * * RETURNS diff --git a/dlls/shell32/tests/shelllink.c b/dlls/shell32/tests/shelllink.c index a3301d876c0..7dc43795813 100644 --- a/dlls/shell32/tests/shelllink.c +++ b/dlls/shell32/tests/shelllink.c @@ -1042,8 +1042,10 @@ static void test_SHGetStockIconInfo(void) if (atleast_win7 && (i == (SIID_MAX_ICONS - 1)) && broken(hr == E_INVALIDARG)) { - /* off by one windows bug: there are SIID_MAX_ICONS icons from 0 upto - SIID_MAX_ICONS-1 on win8, but the last one is missing on win7 */ + /* Off by one windows bug: there are SIID_MAX_ICONS icons from 0 + * up to SIID_MAX_ICONS-1 on Windows 8, but the last one is missing + * on Windows 7. + */ trace("%3d: got E_INVALIDARG (windows bug: off by one)\n", i); } else if (atleast_win7 && (i < (SIID_MAX_ICONS))) diff --git a/dlls/user32/tests/edit.c b/dlls/user32/tests/edit.c index 700dfb0f5a1..fb4a8b31d70 100644 --- a/dlls/user32/tests/edit.c +++ b/dlls/user32/tests/edit.c @@ -2628,7 +2628,7 @@ static void test_EM_GETHANDLE(void) len = SendMessageA(hEdit, WM_GETTEXTLENGTH, 0, 0); ok((r == 1) && (len == lstrlenA(str1)), "got %d and %d (expected 1 and %d)\n", r, len, lstrlenA(str1)); - /* everything is normal upto EM_GETHANDLE */ + /* everything is normal up to EM_GETHANDLE */ hmem = (HGLOBAL) SendMessage(hEdit, EM_GETHANDLE, 0, 0); /* Some messages still work while other messages fail. After LocalFree the memory handle, messages can crash the app */