Assorted typos fixes.

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Andrey Gusev 2015-11-27 00:23:09 +02:00 committed by Alexandre Julliard
parent 3701d7714e
commit 8bfc9bd2ee
10 changed files with 17 additions and 17 deletions

View File

@ -2103,7 +2103,7 @@ static HRESULT STDMETHODCALLTYPE d3d11_device_CreateDomainShader(ID3D11Device *i
static HRESULT STDMETHODCALLTYPE d3d11_device_CreateComputeShader(ID3D11Device *iface, const void *byte_code, static HRESULT STDMETHODCALLTYPE d3d11_device_CreateComputeShader(ID3D11Device *iface, const void *byte_code,
SIZE_T byte_code_length, ID3D11ClassLinkage *class_linkage, ID3D11ComputeShader **shader) SIZE_T byte_code_length, ID3D11ClassLinkage *class_linkage, ID3D11ComputeShader **shader)
{ {
FIXME("iface %p, byte_code %p, byte_code_lenghth %lu, class_linkage %p, shader %p stub!\n", FIXME("iface %p, byte_code %p, byte_code_length %lu, class_linkage %p, shader %p stub!\n",
iface, byte_code, byte_code_length, class_linkage, shader); iface, byte_code, byte_code_length, class_linkage, shader);
return E_NOTIMPL; return E_NOTIMPL;

View File

@ -991,7 +991,7 @@ static HRESULT ddraw_set_cooperative_level(struct ddraw *ddraw, HWND window,
ddraw->cooperative_level = cooplevel; ddraw->cooperative_level = cooplevel;
ddraw->dest_window = window; ddraw->dest_window = window;
TRACE("SetCooperativeLevel retuning DD_OK\n"); TRACE("SetCooperativeLevel returning DD_OK\n");
hr = DD_OK; hr = DD_OK;
done: done:
ddraw->flags &= ~DDRAW_SCL_RECURSIVE; ddraw->flags &= ~DDRAW_SCL_RECURSIVE;

View File

@ -3956,8 +3956,8 @@ static void test_GetFileInformationByHandleEx(void)
ret = pGetFileInformationByHandleEx(file, FileStandardInfo, buffer, sizeof(buffer)); ret = pGetFileInformationByHandleEx(file, FileStandardInfo, buffer, sizeof(buffer));
ok(ret, "GetFileInformationByHandleEx: failed to get FileStandardInfo, %u\n", GetLastError()); ok(ret, "GetFileInformationByHandleEx: failed to get FileStandardInfo, %u\n", GetLastError());
standardInfo = (FILE_STANDARD_INFO *)buffer; standardInfo = (FILE_STANDARD_INFO *)buffer;
ok(standardInfo->NumberOfLinks == 1, "GetFileInformationByHandleEx: Unexpcted number of links\n"); ok(standardInfo->NumberOfLinks == 1, "GetFileInformationByHandleEx: Unexpected number of links\n");
ok(standardInfo->DeletePending == FALSE, "GetFileInformationByHandleEx: Unexpcted pending delete\n"); ok(standardInfo->DeletePending == FALSE, "GetFileInformationByHandleEx: Unexpected pending delete\n");
ok(standardInfo->Directory == FALSE, "GetFileInformationByHandleEx: Incorrect directory flag\n"); ok(standardInfo->Directory == FALSE, "GetFileInformationByHandleEx: Incorrect directory flag\n");
/* Test FileNameInfo */ /* Test FileNameInfo */

View File

@ -165,7 +165,7 @@ static void test_sscanf( void )
ret = sscanf(buffer, "%lld", &result64); ret = sscanf(buffer, "%lld", &result64);
ok(ret == 1, "Wrong number of arguments read: %d\n", ret); ok(ret == 1, "Wrong number of arguments read: %d\n", ret);
ret = sprintf(buffer1, "%lld", result64); ret = sprintf(buffer1, "%lld", result64);
ok(ret==14 || broken(ret==10), "sprintf retuned %d\n", ret); ok(ret==14 || broken(ret==10), "sprintf returned %d\n", ret);
if(ret == 14) if(ret == 14)
ok(!strcmp(buffer, buffer1), "got %s, expected %s\n", buffer1, buffer); ok(!strcmp(buffer, buffer1), "got %s, expected %s\n", buffer1, buffer);

View File

@ -1305,14 +1305,14 @@ static void test_CopyBindInfo(void)
memset(src, 0, sizeof(BINDINFO[2])); memset(src, 0, sizeof(BINDINFO[2]));
memset(dest, 0xde, sizeof(BINDINFO[2])); memset(dest, 0xde, sizeof(BINDINFO[2]));
hres = pCopyBindInfo(src, dest); hres = pCopyBindInfo(src, dest);
ok(hres == E_INVALIDARG, "CopyBindInfo retuned: %08x, expected E_INVALIDARG\n", hres); ok(hres == E_INVALIDARG, "CopyBindInfo returned: %08x, expected E_INVALIDARG\n", hres);
memset(src, 0, sizeof(BINDINFO[2])); memset(src, 0, sizeof(BINDINFO[2]));
memset(dest, 0xde, sizeof(BINDINFO[2])); memset(dest, 0xde, sizeof(BINDINFO[2]));
src[0].cbSize = sizeof(BINDINFO); src[0].cbSize = sizeof(BINDINFO);
dest[0].cbSize = 0; dest[0].cbSize = 0;
hres = pCopyBindInfo(src, dest); hres = pCopyBindInfo(src, dest);
ok(hres == E_INVALIDARG, "CopyBindInfo retuned: %08x, expected E_INVALIDARG\n", hres); ok(hres == E_INVALIDARG, "CopyBindInfo returned: %08x, expected E_INVALIDARG\n", hres);
memset(src, 0, sizeof(BINDINFO[2])); memset(src, 0, sizeof(BINDINFO[2]));
memset(dest, 0xde, sizeof(BINDINFO[2])); memset(dest, 0xde, sizeof(BINDINFO[2]));

View File

@ -1371,7 +1371,7 @@ static HRESULT WINAPI BindInfo_GetBindString(IInternetBindInfo *iface, ULONG ulS
CHECK_EXPECT(GetBindString_USER_AGENT); CHECK_EXPECT(GetBindString_USER_AGENT);
ok(cEl == 1, "cEl=%d, expected 1\n", cEl); ok(cEl == 1, "cEl=%d, expected 1\n", cEl);
if(pcElFetched) { if(pcElFetched) {
ok(*pcElFetched == 0, "*pcElFetch=%d, expectd 0\n", *pcElFetched); ok(*pcElFetched == 0, "*pcElFetch=%d, expected 0\n", *pcElFetched);
*pcElFetched = 1; *pcElFetched = 1;
} }
if(ppwzStr) { if(ppwzStr) {
@ -1383,14 +1383,14 @@ static HRESULT WINAPI BindInfo_GetBindString(IInternetBindInfo *iface, ULONG ulS
CHECK_EXPECT(GetBindString_POST_COOKIE); CHECK_EXPECT(GetBindString_POST_COOKIE);
ok(cEl == 1, "cEl=%d, expected 1\n", cEl); ok(cEl == 1, "cEl=%d, expected 1\n", cEl);
if(pcElFetched) if(pcElFetched)
ok(*pcElFetched == 0, "*pcElFetch=%d, expectd 0\n", *pcElFetched); ok(*pcElFetched == 0, "*pcElFetch=%d, expected 0\n", *pcElFetched);
return S_OK; return S_OK;
case BINDSTRING_URL: { case BINDSTRING_URL: {
DWORD size; DWORD size;
CHECK_EXPECT(GetBindString_URL); CHECK_EXPECT(GetBindString_URL);
ok(cEl == 1, "cEl=%d, expected 1\n", cEl); ok(cEl == 1, "cEl=%d, expected 1\n", cEl);
ok(*pcElFetched == 0, "*pcElFetch=%d, expectd 0\n", *pcElFetched); ok(*pcElFetched == 0, "*pcElFetch=%d, expected 0\n", *pcElFetched);
*pcElFetched = 1; *pcElFetched = 1;
size = (lstrlenW(binding_urls[tested_protocol])+1)*sizeof(WCHAR); size = (lstrlenW(binding_urls[tested_protocol])+1)*sizeof(WCHAR);

View File

@ -378,12 +378,12 @@ static void test_changesize( DWORD style)
/* first make it slightly smaller */ /* first make it slightly smaller */
MoveWindow( hCombo, 10, 10, clwidth - 2, clheight - 2, TRUE); MoveWindow( hCombo, 10, 10, clwidth - 2, clheight - 2, TRUE);
GetClientRect( hCombo, &rc); GetClientRect( hCombo, &rc);
ok( rc.right - rc.left == clwidth - 2, "clientrect witdh is %d vs %d\n", ok( rc.right - rc.left == clwidth - 2, "clientrect width is %d vs %d\n",
rc.right - rc.left, clwidth - 2); rc.right - rc.left, clwidth - 2);
ok( rc.bottom - rc.top == clheight, "clientrect height is %d vs %d\n", ok( rc.bottom - rc.top == clheight, "clientrect height is %d vs %d\n",
rc.bottom - rc.top, clheight); rc.bottom - rc.top, clheight);
SendMessageA(hCombo, CB_GETDROPPEDCONTROLRECT, 0, (LPARAM)&rc); SendMessageA(hCombo, CB_GETDROPPEDCONTROLRECT, 0, (LPARAM)&rc);
ok( rc.right - rc.left == clwidth - 2, "drop-down rect witdh is %d vs %d\n", ok( rc.right - rc.left == clwidth - 2, "drop-down rect width is %d vs %d\n",
rc.right - rc.left, clwidth - 2); rc.right - rc.left, clwidth - 2);
ok( rc.bottom - rc.top == ddheight, "drop-down rect height is %d vs %d\n", ok( rc.bottom - rc.top == ddheight, "drop-down rect height is %d vs %d\n",
rc.bottom - rc.top, ddheight); rc.bottom - rc.top, ddheight);
@ -392,12 +392,12 @@ static void test_changesize( DWORD style)
/* new cx, cy is slightly bigger than the initial values */ /* new cx, cy is slightly bigger than the initial values */
MoveWindow( hCombo, 10, 10, clwidth + 2, clheight + 2, TRUE); MoveWindow( hCombo, 10, 10, clwidth + 2, clheight + 2, TRUE);
GetClientRect( hCombo, &rc); GetClientRect( hCombo, &rc);
ok( rc.right - rc.left == clwidth + 2, "clientrect witdh is %d vs %d\n", ok( rc.right - rc.left == clwidth + 2, "clientrect width is %d vs %d\n",
rc.right - rc.left, clwidth + 2); rc.right - rc.left, clwidth + 2);
ok( rc.bottom - rc.top == clheight, "clientrect height is %d vs %d\n", ok( rc.bottom - rc.top == clheight, "clientrect height is %d vs %d\n",
rc.bottom - rc.top, clheight); rc.bottom - rc.top, clheight);
SendMessageA(hCombo, CB_GETDROPPEDCONTROLRECT, 0, (LPARAM)&rc); SendMessageA(hCombo, CB_GETDROPPEDCONTROLRECT, 0, (LPARAM)&rc);
ok( rc.right - rc.left == clwidth + 2, "drop-down rect witdh is %d vs %d\n", ok( rc.right - rc.left == clwidth + 2, "drop-down rect width is %d vs %d\n",
rc.right - rc.left, clwidth + 2); rc.right - rc.left, clwidth + 2);
todo_wine { todo_wine {
ok( rc.bottom - rc.top == clheight + 2, "drop-down rect height is %d vs %d\n", ok( rc.bottom - rc.top == clheight + 2, "drop-down rect height is %d vs %d\n",