Assorted spelling fixes.

This commit is contained in:
Francois Gouget 2013-07-03 12:11:13 +02:00 committed by Alexandre Julliard
parent 28139bceeb
commit 653354ab25
3 changed files with 8 additions and 6 deletions

View File

@ -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

View File

@ -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)))

View File

@ -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 */