Assorted spelling and typos fixes.

This commit is contained in:
Andrey Gusev 2015-08-17 16:11:55 +03:00 committed by Alexandre Julliard
parent 1f7fb03ee9
commit 5cdcd4493f
20 changed files with 28 additions and 28 deletions

View File

@ -1190,7 +1190,7 @@ BOOL WINAPI QueryThreadCycleTime(HANDLE thread, PULONG64 cycle)
{
static int once;
if (!once++)
FIXME("(%p,%p,): stub!\n", thread, cycle);
FIXME("(%p,%p): stub!\n", thread, cycle);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}

View File

@ -3140,7 +3140,7 @@ static void _test_img_alt(unsigned line, IUnknown *unk, const char *exalt)
hres = IHTMLImgElement_get_alt(img, &alt);
ok_(__FILE__,line) (hres == S_OK, "get_alt failed: %08x\n", hres);
if(exalt)
ok_(__FILE__,line) (!strcmp_wa(alt, exalt), "inexopected alt %s\n", wine_dbgstr_w(alt));
ok_(__FILE__,line) (!strcmp_wa(alt, exalt), "unexpected alt %s\n", wine_dbgstr_w(alt));
else
ok_(__FILE__,line) (!alt, "alt != NULL\n");
SysFreeString(alt);

View File

@ -333,20 +333,20 @@ static HRESULT WINAPI ServiceProvider_QueryService(IServiceProvider *iface, REFG
{
if(IsEqualGUID(guidService, &SID_VariantConversion)) {
CHECK_EXPECT(QS_VariantConversion);
ok(IsEqualGUID(riid, &IID_IVariantChangeType), "uenxpected riid %s\n", wine_dbgstr_guid(riid));
ok(IsEqualGUID(riid, &IID_IVariantChangeType), "unexpected riid %s\n", wine_dbgstr_guid(riid));
*ppv = &VChangeType;
return S_OK;
}
if(IsEqualGUID(guidService, &IID_IActiveScriptSite)) {
CHECK_EXPECT(QS_IActiveScriptSite);
ok(IsEqualGUID(riid, &IID_IOleCommandTarget), "uenxpected riid %s\n", wine_dbgstr_guid(riid));
ok(IsEqualGUID(riid, &IID_IOleCommandTarget), "unexpected riid %s\n", wine_dbgstr_guid(riid));
return IActiveScriptSite_QueryInterface(site, riid, ppv);
}
if(IsEqualGUID(guidService, &SID_GetCaller)) {
CHECK_EXPECT(QS_GetCaller);
ok(IsEqualGUID(riid, &IID_IServiceProvider), "uenxpected riid %s\n", wine_dbgstr_guid(riid));
ok(IsEqualGUID(riid, &IID_IServiceProvider), "unexpected riid %s\n", wine_dbgstr_guid(riid));
*ppv = NULL;
return E_NOINTERFACE;
}

View File

@ -763,12 +763,12 @@ static void test_asctime(void)
gmt = 0;
gmt_tm = p_gmtime(&gmt);
ret = p_asctime(gmt_tm);
ok(!strcmp(ret, "Thu Jan 01 00:00:00 1970\n"), "asctime retunred %s\n", ret);
ok(!strcmp(ret, "Thu Jan 01 00:00:00 1970\n"), "asctime returned %s\n", ret);
gmt = 312433121;
gmt_tm = p_gmtime(&gmt);
ret = p_asctime(gmt_tm);
ok(!strcmp(ret, "Mon Nov 26 02:58:41 1979\n"), "asctime retunred %s\n", ret);
ok(!strcmp(ret, "Mon Nov 26 02:58:41 1979\n"), "asctime returned %s\n", ret);
/* Week day is only checked if it's in 0..6 range */
gmt_tm->tm_wday = 3;

View File

@ -953,7 +953,7 @@ static void test_debugger(void)
sizeof(stage), &size_read);
ok(!status,"NtReadVirtualMemory failed with 0x%x\n", status);
ok(!de.u.DebugString.fUnicode, "unepxected unicode debug string event\n");
ok(!de.u.DebugString.fUnicode, "unexpected unicode debug string event\n");
ok(de.u.DebugString.nDebugStringLength < sizeof(buffer) - 1, "buffer not large enough to hold %d bytes\n",
de.u.DebugString.nDebugStringLength);

View File

@ -1733,7 +1733,7 @@ HRESULT WINAPI CoMarshalInterface(IStream *pStream, REFIID riid, IUnknown *pUnk,
OBJREF objref;
LPMARSHAL pMarshal;
TRACE("(%p, %s, %p, %x, %p,", pStream, debugstr_guid(riid), pUnk,
TRACE("(%p, %s, %p, %x, %p)", pStream, debugstr_guid(riid), pUnk,
dwDestContext, pvDestContext);
dump_MSHLFLAGS(mshlFlags);
TRACE(")\n");

View File

@ -115,7 +115,7 @@ static BOOL last_release_closes;
static HRESULT WINAPI ExternalConnection_QueryInterface(IExternalConnection *iface, REFIID riid, void **ppv)
{
ok(0, "unxpected call\n");
ok(0, "unexpected call\n");
*ppv = NULL;
return E_NOINTERFACE;
}

View File

@ -93,7 +93,7 @@ static DWORD external_connections;
static HRESULT WINAPI ExternalConnection_QueryInterface(IExternalConnection *iface, REFIID riid, void **ppv)
{
ok(0, "unxpected call\n");
ok(0, "unexpected call\n");
*ppv = NULL;
return E_NOINTERFACE;
}

View File

@ -2104,7 +2104,7 @@ static ULONG WINAPI OleRun_Release(IRunnableObject *iface)
static HRESULT WINAPI OleRun_GetRunningClass(IRunnableObject *iface, CLSID *clsid)
{
ok(0, "unxpected\n");
ok(0, "unexpected\n");
return E_NOTIMPL;
}
@ -2116,20 +2116,20 @@ static HRESULT WINAPI OleRun_Run(IRunnableObject *iface, LPBINDCTX ctx)
static BOOL WINAPI OleRun_IsRunning(IRunnableObject *iface)
{
ok(0, "unxpected\n");
ok(0, "unexpected\n");
return FALSE;
}
static HRESULT WINAPI OleRun_LockRunning(IRunnableObject *iface, BOOL lock,
BOOL last_unlock_closes)
{
ok(0, "unxpected\n");
ok(0, "unexpected\n");
return E_NOTIMPL;
}
static HRESULT WINAPI OleRun_SetContainedObject(IRunnableObject *iface, BOOL contained)
{
ok(0, "unxpected\n");
ok(0, "unexpected\n");
return E_NOTIMPL;
}

View File

@ -156,7 +156,7 @@ static BOOL expect_last_release_closes;
static HRESULT WINAPI ExternalConnection_QueryInterface(IExternalConnection *iface, REFIID riid, void **ppv)
{
ok(0, "unxpected call\n");
ok(0, "unexpected call\n");
*ppv = NULL;
return E_NOINTERFACE;
}

View File

@ -1733,7 +1733,7 @@ static void test_smart_tee_filter(void)
ok(has_interface((IUnknown*)inputPin, &IID_IUnknown), "IUnknown should exist on the input pin\n");
ok(has_interface((IUnknown*)inputPin, &IID_IMemInputPin), "IMemInputPin should exist the input pin\n");
ok(!has_interface((IUnknown*)inputPin, &IID_IKsPropertySet), "IKsPropertySet shouldn't eixst on the input pin\n");
ok(!has_interface((IUnknown*)inputPin, &IID_IKsPropertySet), "IKsPropertySet shouldn't exist on the input pin\n");
ok(!has_interface((IUnknown*)inputPin, &IID_IAMStreamConfig), "IAMStreamConfig shouldn't exist on the input pin\n");
ok(!has_interface((IUnknown*)inputPin, &IID_IAMStreamControl), "IAMStreamControl shouldn't exist on the input pin\n");
ok(!has_interface((IUnknown*)inputPin, &IID_IPropertyBag), "IPropertyBag shouldn't exist on the input pin\n");

View File

@ -509,7 +509,7 @@ static void test_parse_filter_data(void)
saBound.lLbound = 0;
saBound.cElements = sizeof(data_block);
psa = SafeArrayCreate(VT_UI1, 1, &saBound);
ok(psa != NULL, "Unable to crate safe array\n");
ok(psa != NULL, "Unable to create safe array\n");
if (!psa) goto out;
hr = SafeArrayAccessData(psa, (LPVOID *)&pbSAData);
ok(hr == S_OK, "Unable to access array data\n");

View File

@ -2361,7 +2361,7 @@ static void test_ITextFont(void)
ok(hr == S_OK, "got 0x%08x\n", hr);
ok(value != tomUndefined, "got %d\n", value);
/* reset to undefined for deatached font */
/* reset to undefined for detached font */
hr = ITextFont_Reset(font2, tomUndefined);
ok(hr == S_OK, "got 0x%08x\n", hr);
test_textfont_undefined(font2);

View File

@ -209,7 +209,7 @@ static HRESULT WINAPI test_unk_no_QI(IUnknown *iface, REFIID riid, void **obj)
static ULONG WINAPI test_unk_AddRef(IUnknown *iface)
{
ok(0, "unxpected\n");
ok(0, "unexpected\n");
return 2;
}
@ -244,7 +244,7 @@ static HRESULT WINAPI test_disp_QI(IDispatch *iface, REFIID riid, void **obj)
static ULONG WINAPI test_disp_AddRef(IDispatch *iface)
{
ok(0, "unxpected\n");
ok(0, "unexpected\n");
return 2;
}

View File

@ -227,7 +227,7 @@ typedef struct {
IWICBitmapDecoder IWICBitmapDecoder_iface;
LONG ref;
IStream *stream;
CRITICAL_SECTION lock; /* Must be held when tiff is used or initiailzed is set */
CRITICAL_SECTION lock; /* Must be held when tiff is used or initialized is set */
TIFF *tiff;
BOOL initialized;
} TiffDecoder;

View File

@ -1979,7 +1979,7 @@ static void pshader_hw_tex(const struct wined3d_shader_instruction *ins)
shader_arb_get_dst_param(ins, dst, reg_dest);
/* 1.0-1.4: Use destination register number as texture code.
2.0+: Use provided sampler number as texure code. */
2.0+: Use provided sampler number as texture code. */
if (shader_version < WINED3D_SHADER_VERSION(2,0))
reg_sampler_code = dst->reg.idx[0].offset;
else

View File

@ -478,7 +478,7 @@ typedef struct _SPropProblemArray
typedef ULONG BOOKMARK;
#define BOOKMARK_BEGINNING ((BOOKMARK)0) /* The first row */
#define BOOKMARK_CURRENT ((BOOKMARK)1) /* The curent table row */
#define BOOKMARK_CURRENT ((BOOKMARK)1) /* The current table row */
#define BOOKMARK_END ((BOOKMARK)2) /* The last row */
/* Row restrictions */

View File

@ -136,7 +136,7 @@ typedef struct _OPSTACK
} OPSTACK;
/* This maintains a stack of values, where each value can either be a
numeric value, or a string represeting an environment variable */
numeric value, or a string representing an environment variable */
typedef struct _VARSTACK
{
BOOL isnum;

View File

@ -2018,7 +2018,7 @@ sub output_sgml_dll_file($)
`rm -f $opt_output_directory/$_.sgml`;
}
# close the chapter, and overwite the dll source
# close the chapter, and overwrite the dll source
open(OUTPUT,">>$tmp_name") || die "Couldn't create $tmp_name\n";
print OUTPUT "</chapter>\n";
close OUTPUT;
@ -2064,7 +2064,7 @@ sub output_xml_dll_file($)
`rm -f $opt_output_directory/$_.xml`;
}
# close the chapter, and overwite the dll source
# close the chapter, and overwrite the dll source
open(OUTPUT,">>$tmp_name") || die "Couldn't create $tmp_name\n";
print OUTPUT "</chapter>\n";
close OUTPUT;

View File

@ -226,7 +226,7 @@ try_again:
if(!n && ferror(yyin))
xyyerror(err_fatalread);
else
xyyerror("Fatal: file to short to determine byteorder (should never happen)\n");
xyyerror("Fatal: file too short to determine byteorder (should never happen)\n");
}
if(isisochar(inputbuffer[0]) &&
isisochar(inputbuffer[1]) &&