Commit 03584b4f authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Assorted spelling fixes.

parent 872035f1
...@@ -3204,7 +3204,7 @@ static void test_editbox(void) ...@@ -3204,7 +3204,7 @@ static void test_editbox(void)
ok(hwndedit2 == NULL, "Expected Edit window not to be created\n"); ok(hwndedit2 == NULL, "Expected Edit window not to be created\n");
ok(!IsWindow(hwndedit), "Expected Edit window to be destroyed\n"); ok(!IsWindow(hwndedit), "Expected Edit window to be destroyed\n");
ok(GetFocus() == hwnd, "Expected List to be focused\n"); ok(GetFocus() == hwnd, "Expected List to be focused\n");
/* and value greater then max item index */ /* and value greater than max item index */
hwndedit = (HWND)SendMessage(hwnd, LVM_EDITLABEL, 0, 0); hwndedit = (HWND)SendMessage(hwnd, LVM_EDITLABEL, 0, 0);
ok(IsWindow(hwndedit), "Expected Edit window to be created\n"); ok(IsWindow(hwndedit), "Expected Edit window to be created\n");
ok(GetFocus() == hwndedit, "Expected Edit to be focused\n"); ok(GetFocus() == hwndedit, "Expected Edit to be focused\n");
...@@ -3312,7 +3312,7 @@ static void test_notifyformat(void) ...@@ -3312,7 +3312,7 @@ static void test_notifyformat(void)
r = SendMessage(header, HDM_GETUNICODEFORMAT, 0, 0); r = SendMessage(header, HDM_GETUNICODEFORMAT, 0, 0);
expect(1, r); expect(1, r);
DestroyWindow(hwnd); DestroyWindow(hwnd);
/* recieving error code defaulting to ansi */ /* receiving error code defaulting to ansi */
notifyFormat = 0; notifyFormat = 0;
hwnd = create_listview_controlW(0, hwndparentW); hwnd = create_listview_controlW(0, hwndparentW);
ok(hwnd != NULL, "failed to create a listview window\n"); ok(hwnd != NULL, "failed to create a listview window\n");
...@@ -3323,7 +3323,7 @@ static void test_notifyformat(void) ...@@ -3323,7 +3323,7 @@ static void test_notifyformat(void)
r = SendMessage(header, HDM_GETUNICODEFORMAT, 0, 0); r = SendMessage(header, HDM_GETUNICODEFORMAT, 0, 0);
expect(1, r); expect(1, r);
DestroyWindow(hwnd); DestroyWindow(hwnd);
/* recieving ansi code from unicode window, use it */ /* receiving ansi code from unicode window, use it */
notifyFormat = NFR_ANSI; notifyFormat = NFR_ANSI;
hwnd = create_listview_controlW(0, hwndparentW); hwnd = create_listview_controlW(0, hwndparentW);
ok(hwnd != NULL, "failed to create a listview window\n"); ok(hwnd != NULL, "failed to create a listview window\n");
...@@ -3484,9 +3484,10 @@ static BOOL load_v6_module(ULONG_PTR *pcookie) ...@@ -3484,9 +3484,10 @@ static BOOL load_v6_module(ULONG_PTR *pcookie)
if (!ret) if (!ret)
{ {
win_skip("A problem during context activation occured.\n"); win_skip("A problem during context activation occurred.\n");
DeleteFileA(manifest_name); DeleteFileA(manifest_name);
} }
else else
{ {
/* this is a XP SP3 failure workaround */ /* this is a XP SP3 failure workaround */
......
...@@ -160,7 +160,7 @@ static void test_GetVolumeNameForVolumeMountPointA(void) ...@@ -160,7 +160,7 @@ static void test_GetVolumeNameForVolumeMountPointA(void)
"GetVolumeNameForVolumeMountPointA failed on %s, last=%d\n", "GetVolumeNameForVolumeMountPointA failed on %s, last=%d\n",
temp_path, GetLastError()); temp_path, GetLastError());
/* Try on a non-existent dos drive */ /* Try on a nonexistent dos drive */
path[2] = 0; path[2] = 0;
for (;path[0] <= 'z'; path[0]++) { for (;path[0] <= 'z'; path[0]++) {
ret = QueryDosDeviceA( path, volume, len); ret = QueryDosDeviceA( path, volume, len);
...@@ -174,7 +174,7 @@ static void test_GetVolumeNameForVolumeMountPointA(void) ...@@ -174,7 +174,7 @@ static void test_GetVolumeNameForVolumeMountPointA(void)
"GetVolumeNameForVolumeMountPointA failed on %s, last=%d\n", "GetVolumeNameForVolumeMountPointA failed on %s, last=%d\n",
path, GetLastError()); path, GetLastError());
/* Try without trailing \ and on a non-existent dos drive */ /* Try without trailing \ and on a nonexistent dos drive */
path[2] = 0; path[2] = 0;
ret = pGetVolumeNameForVolumeMountPointA(path, volume, len); ret = pGetVolumeNameForVolumeMountPointA(path, volume, len);
ok(ret == FALSE && GetLastError() == ERROR_INVALID_NAME, ok(ret == FALSE && GetLastError() == ERROR_INVALID_NAME,
......
...@@ -60,7 +60,7 @@ typedef struct lcid_tag_table { ...@@ -60,7 +60,7 @@ typedef struct lcid_tag_table {
/* en, ar and zh use SUBLANG_NEUTRAL for the rfc1766 name without the country /* en, ar and zh use SUBLANG_NEUTRAL for the rfc1766 name without the country
all others suppress the country with SUBLANG_DEFAULT. all others suppress the country with SUBLANG_DEFAULT.
For 3 letter language codes, the rfc1766 is to small for the country */ For 3 letter language codes, the rfc1766 is too small for the country */
static const lcid_table_entry lcid_table[] = { static const lcid_table_entry lcid_table[] = {
{"e", -1, E_FAIL}, {"e", -1, E_FAIL},
......
...@@ -1321,7 +1321,7 @@ static void test_ClientId(void) ...@@ -1321,7 +1321,7 @@ static void test_ClientId(void)
GUID g2; GUID g2;
hr = ITfThreadMgr_QueryInterface(g_tm, &IID_ITfClientId, (LPVOID*)&pcid); hr = ITfThreadMgr_QueryInterface(g_tm, &IID_ITfClientId, (LPVOID*)&pcid);
ok(SUCCEEDED(hr),"Unable to aquire ITfClientId interface\n"); ok(SUCCEEDED(hr),"Unable to acquire ITfClientId interface\n");
CoCreateGuid(&g2); CoCreateGuid(&g2);
......
...@@ -320,7 +320,7 @@ static void test_sharelists(HDC winhdc) ...@@ -320,7 +320,7 @@ static void test_sharelists(HDC winhdc)
} }
/* Test 3: Share display lists with a context which already shares display lists with another context. /* Test 3: Share display lists with a context which already shares display lists with another context.
* According to MSDN the second paramater can't share any display lists but some buggy drivers might allow it */ * According to MSDN the second parameter cannot share any display lists but some buggy drivers might allow it */
hglrc3 = wglCreateContext(winhdc); hglrc3 = wglCreateContext(winhdc);
if(hglrc3) if(hglrc3)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment