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:
parent
3701d7714e
commit
8bfc9bd2ee
|
@ -403,7 +403,7 @@ static enum install_res install_from_cache(void)
|
|||
return INSTALL_NEXT;
|
||||
|
||||
if(!sha_check(cache_file_name)) {
|
||||
WARN("could not validate check sum\n");
|
||||
WARN("could not validate checksum\n");
|
||||
DeleteFileW(cache_file_name);
|
||||
heap_free(cache_file_name);
|
||||
return INSTALL_NEXT;
|
||||
|
|
|
@ -2103,7 +2103,7 @@ static HRESULT STDMETHODCALLTYPE d3d11_device_CreateDomainShader(ID3D11Device *i
|
|||
static HRESULT STDMETHODCALLTYPE d3d11_device_CreateComputeShader(ID3D11Device *iface, const void *byte_code,
|
||||
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);
|
||||
|
||||
return E_NOTIMPL;
|
||||
|
|
|
@ -991,7 +991,7 @@ static HRESULT ddraw_set_cooperative_level(struct ddraw *ddraw, HWND window,
|
|||
ddraw->cooperative_level = cooplevel;
|
||||
ddraw->dest_window = window;
|
||||
|
||||
TRACE("SetCooperativeLevel retuning DD_OK\n");
|
||||
TRACE("SetCooperativeLevel returning DD_OK\n");
|
||||
hr = DD_OK;
|
||||
done:
|
||||
ddraw->flags &= ~DDRAW_SCL_RECURSIVE;
|
||||
|
|
|
@ -3956,8 +3956,8 @@ static void test_GetFileInformationByHandleEx(void)
|
|||
ret = pGetFileInformationByHandleEx(file, FileStandardInfo, buffer, sizeof(buffer));
|
||||
ok(ret, "GetFileInformationByHandleEx: failed to get FileStandardInfo, %u\n", GetLastError());
|
||||
standardInfo = (FILE_STANDARD_INFO *)buffer;
|
||||
ok(standardInfo->NumberOfLinks == 1, "GetFileInformationByHandleEx: Unexpcted number of links\n");
|
||||
ok(standardInfo->DeletePending == FALSE, "GetFileInformationByHandleEx: Unexpcted pending delete\n");
|
||||
ok(standardInfo->NumberOfLinks == 1, "GetFileInformationByHandleEx: Unexpected number of links\n");
|
||||
ok(standardInfo->DeletePending == FALSE, "GetFileInformationByHandleEx: Unexpected pending delete\n");
|
||||
ok(standardInfo->Directory == FALSE, "GetFileInformationByHandleEx: Incorrect directory flag\n");
|
||||
|
||||
/* Test FileNameInfo */
|
||||
|
|
|
@ -165,7 +165,7 @@ static void test_sscanf( void )
|
|||
ret = sscanf(buffer, "%lld", &result64);
|
||||
ok(ret == 1, "Wrong number of arguments read: %d\n", ret);
|
||||
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)
|
||||
ok(!strcmp(buffer, buffer1), "got %s, expected %s\n", buffer1, buffer);
|
||||
|
||||
|
|
|
@ -253,7 +253,7 @@ static HRESULT WINAPI DefaultHandler_NDIUnknown_QueryInterface(
|
|||
/* Check that we obtained an interface. */
|
||||
if (*ppvObject == NULL)
|
||||
{
|
||||
WARN( "() : asking for un supported interface %s\n", debugstr_guid(riid));
|
||||
WARN( "() : asking for unsupported interface %s\n", debugstr_guid(riid));
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
|
|
|
@ -472,7 +472,7 @@ static HRESULT WINAPI OLEPictureImpl_QueryInterface(
|
|||
|
||||
if (!*ppvObject)
|
||||
{
|
||||
FIXME("() : asking for un supported interface %s\n",debugstr_guid(riid));
|
||||
FIXME("() : asking for unsupported interface %s\n",debugstr_guid(riid));
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
|
|
|
@ -1305,14 +1305,14 @@ static void test_CopyBindInfo(void)
|
|||
memset(src, 0, sizeof(BINDINFO[2]));
|
||||
memset(dest, 0xde, sizeof(BINDINFO[2]));
|
||||
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(dest, 0xde, sizeof(BINDINFO[2]));
|
||||
src[0].cbSize = sizeof(BINDINFO);
|
||||
dest[0].cbSize = 0;
|
||||
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(dest, 0xde, sizeof(BINDINFO[2]));
|
||||
|
|
|
@ -1371,7 +1371,7 @@ static HRESULT WINAPI BindInfo_GetBindString(IInternetBindInfo *iface, ULONG ulS
|
|||
CHECK_EXPECT(GetBindString_USER_AGENT);
|
||||
ok(cEl == 1, "cEl=%d, expected 1\n", cEl);
|
||||
if(pcElFetched) {
|
||||
ok(*pcElFetched == 0, "*pcElFetch=%d, expectd 0\n", *pcElFetched);
|
||||
ok(*pcElFetched == 0, "*pcElFetch=%d, expected 0\n", *pcElFetched);
|
||||
*pcElFetched = 1;
|
||||
}
|
||||
if(ppwzStr) {
|
||||
|
@ -1383,14 +1383,14 @@ static HRESULT WINAPI BindInfo_GetBindString(IInternetBindInfo *iface, ULONG ulS
|
|||
CHECK_EXPECT(GetBindString_POST_COOKIE);
|
||||
ok(cEl == 1, "cEl=%d, expected 1\n", cEl);
|
||||
if(pcElFetched)
|
||||
ok(*pcElFetched == 0, "*pcElFetch=%d, expectd 0\n", *pcElFetched);
|
||||
ok(*pcElFetched == 0, "*pcElFetch=%d, expected 0\n", *pcElFetched);
|
||||
return S_OK;
|
||||
case BINDSTRING_URL: {
|
||||
DWORD size;
|
||||
|
||||
CHECK_EXPECT(GetBindString_URL);
|
||||
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;
|
||||
|
||||
size = (lstrlenW(binding_urls[tested_protocol])+1)*sizeof(WCHAR);
|
||||
|
|
|
@ -378,12 +378,12 @@ static void test_changesize( DWORD style)
|
|||
/* first make it slightly smaller */
|
||||
MoveWindow( hCombo, 10, 10, clwidth - 2, clheight - 2, TRUE);
|
||||
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);
|
||||
ok( rc.bottom - rc.top == clheight, "clientrect height is %d vs %d\n",
|
||||
rc.bottom - rc.top, clheight);
|
||||
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);
|
||||
ok( rc.bottom - rc.top == ddheight, "drop-down rect height is %d vs %d\n",
|
||||
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 */
|
||||
MoveWindow( hCombo, 10, 10, clwidth + 2, clheight + 2, TRUE);
|
||||
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);
|
||||
ok( rc.bottom - rc.top == clheight, "clientrect height is %d vs %d\n",
|
||||
rc.bottom - rc.top, clheight);
|
||||
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);
|
||||
todo_wine {
|
||||
ok( rc.bottom - rc.top == clheight + 2, "drop-down rect height is %d vs %d\n",
|
||||
|
|
Loading…
Reference in New Issue