Assorted spelling fixes.

oldstable
Frédéric Delanoy 2014-01-09 15:02:45 +01:00 committed by Alexandre Julliard
parent dc184b526c
commit 91f2435469
14 changed files with 26 additions and 26 deletions

View File

@ -4988,7 +4988,7 @@ BOOL WINAPI ConvertSecurityDescriptorToStringSecurityDescriptorW(PSECURITY_DESCR
if (SDRevision != SDDL_REVISION_1)
{
ERR("Pogram requested unknown SDDL revision %d\n", SDRevision);
ERR("Program requested unknown SDDL revision %d\n", SDRevision);
SetLastError(ERROR_UNKNOWN_REVISION);
return FALSE;
}

View File

@ -376,7 +376,7 @@ static void test_LsaLookupSids(void)
ok(ret, "got %d\n", ret);
ret = GetTokenInformation(token, TokenUser, NULL, 0, &size);
ok(!ret, "gotr %d\n", ret);
ok(!ret, "got %d\n", ret);
user = HeapAlloc(GetProcessHeap(), 0, size);
ret = GetTokenInformation(token, TokenUser, user, size, &size);

View File

@ -849,7 +849,7 @@ static void test_encodeName(DWORD dwEncoding)
{
ok(size == sizeof(encodedTwoRDNs), "Unexpected size %d\n", size);
ok(!memcmp(buf, encodedTwoRDNs, size),
"Unexpected value for re-endoded two RDN array\n");
"Unexpected value for re-encoded two RDN array\n");
LocalFree(buf);
}
/* CERT_RDN_ANY_TYPE is too vague for X509_NAMEs, check the return */
@ -973,7 +973,7 @@ static void test_encodeUnicodeName(DWORD dwEncoding)
{
ok(size == sizeof(encodedTwoRDNs), "Unexpected size %d\n", size);
ok(!memcmp(buf, encodedTwoRDNs, size),
"Unexpected value for re-endoded two RDN array\n");
"Unexpected value for re-encoded two RDN array\n");
LocalFree(buf);
}
/* Unicode names infer the type for CERT_RDN_ANY_TYPE */

View File

@ -88,7 +88,7 @@ static HRESULT d3d10_input_layout_to_wined3d_declaration(const D3D10_INPUT_ELEME
if (f->InputSlotClass != D3D10_INPUT_PER_VERTEX_DATA)
FIXME("Ignoring input slot class (%#x)\n", f->InputSlotClass);
if (f->InstanceDataStepRate)
FIXME("Ignoring instace data step rate (%#x)\n", f->InstanceDataStepRate);
FIXME("Ignoring instance data step rate (%#x)\n", f->InstanceDataStepRate);
break;
}

View File

@ -2480,7 +2480,7 @@ static struct wined3d_vertex_declaration *device_get_fvf_declaration(struct d3d9
fvf_decls[low].fvf = fvf;
++device->fvf_decl_count;
TRACE("Returning %p. %u declatations in array.\n", wined3d_declaration, device->fvf_decl_count);
TRACE("Returning %p. %u declarations in array.\n", wined3d_declaration, device->fvf_decl_count);
return wined3d_declaration;
}

View File

@ -364,7 +364,7 @@ void hash_table_destroy(struct hash_table* ht)
for (len = 0, elt = ht->buckets[i]; elt; elt = elt->next) len++;
if (len == max)
{
FIXME("Longuest bucket:\n");
FIXME("Longest bucket:\n");
for (elt = ht->buckets[i]; elt; elt = elt->next)
FIXME("\t%s\n", elt->name);
break;

View File

@ -6218,7 +6218,7 @@ static DWORD get_glyph_outline(GdiFont *incoming_font, UINT glyph, UINT format,
if(format & GGO_GLYPH_INDEX) {
if(font->ft_face->charmap->encoding == FT_ENCODING_NONE) {
/* Windows bitmap font, e.g. Small Fonts, uses ANSI character code
as glyph index. "Tresure Adventure Game" depends on this. */
as glyph index. "Treasure Adventure Game" depends on this. */
glyph_index = pFT_Get_Char_Index(font->ft_face, glyph);
TRACE("translate glyph index %04x -> %04x\n", glyph, glyph_index);
} else

View File

@ -2425,7 +2425,7 @@ static void test_FindFirstFileA(void)
strcat(buffer2, "\\");
handle = FindFirstFileA(buffer2, &data);
err = GetLastError();
ok ( handle == INVALID_HANDLE_VALUE, "FindFirstFile on %s should Fail\n", buffer2 );
ok ( handle == INVALID_HANDLE_VALUE, "FindFirstFile on %s should fail\n", buffer2 );
todo_wine {
ok ( err == ERROR_PATH_NOT_FOUND, "Bad Error number %d\n", err );
}
@ -2435,7 +2435,7 @@ static void test_FindFirstFileA(void)
strcpy(buffer2, nonexistent);
handle = FindFirstFileA(buffer2, &data);
err = GetLastError();
ok ( handle == INVALID_HANDLE_VALUE, "FindFirstFile on %s should Fail\n", buffer2 );
ok ( handle == INVALID_HANDLE_VALUE, "FindFirstFile on %s should fail\n", buffer2 );
ok ( err == ERROR_FILE_NOT_FOUND, "Bad Error number %d\n", err );
/* try FindFirstFileA on "C:\foo\bar.txt" */
@ -2444,7 +2444,7 @@ static void test_FindFirstFileA(void)
strcat(buffer2, "\\bar.txt");
handle = FindFirstFileA(buffer2, &data);
err = GetLastError();
ok ( handle == INVALID_HANDLE_VALUE, "FindFirstFile on %s should Fail\n", buffer2 );
ok ( handle == INVALID_HANDLE_VALUE, "FindFirstFile on %s should fail\n", buffer2 );
ok ( err == ERROR_PATH_NOT_FOUND, "Bad Error number %d\n", err );
/* try FindFirstFileA on "C:\foo\*.*" */
@ -2453,7 +2453,7 @@ static void test_FindFirstFileA(void)
strcat(buffer2, "\\*.*");
handle = FindFirstFileA(buffer2, &data);
err = GetLastError();
ok ( handle == INVALID_HANDLE_VALUE, "FindFirstFile on %s should Fail\n", buffer2 );
ok ( handle == INVALID_HANDLE_VALUE, "FindFirstFile on %s should fail\n", buffer2 );
ok ( err == ERROR_PATH_NOT_FOUND, "Bad Error number %d\n", err );
/* try FindFirstFileA on "foo\bar.txt" */
@ -2462,7 +2462,7 @@ static void test_FindFirstFileA(void)
strcat(buffer2, "\\bar.txt");
handle = FindFirstFileA(buffer2, &data);
err = GetLastError();
ok ( handle == INVALID_HANDLE_VALUE, "FindFirstFile on %s should Fail\n", buffer2 );
ok ( handle == INVALID_HANDLE_VALUE, "FindFirstFile on %s should fail\n", buffer2 );
ok ( err == ERROR_PATH_NOT_FOUND, "Bad Error number %d\n", err );
/* try FindFirstFileA on "c:\nul" */
@ -2512,7 +2512,7 @@ static void test_FindFirstFileA(void)
strcat(buffer2, "nul\\*");
handle = FindFirstFileA(buffer2, &data);
err = GetLastError();
ok ( handle == INVALID_HANDLE_VALUE, "FindFirstFile on %s should Fail\n", buffer2 );
ok ( handle == INVALID_HANDLE_VALUE, "FindFirstFile on %s should fail\n", buffer2 );
ok ( err == ERROR_PATH_NOT_FOUND, "Bad Error number %d\n", err );
/* try FindFirstFileA on "c:\nul*" */
@ -2521,7 +2521,7 @@ static void test_FindFirstFileA(void)
strcat(buffer2, "nul*");
handle = FindFirstFileA(buffer2, &data);
err = GetLastError();
ok ( handle == INVALID_HANDLE_VALUE, "FindFirstFile on %s should Fail\n", buffer2 );
ok ( handle == INVALID_HANDLE_VALUE, "FindFirstFile on %s should fail\n", buffer2 );
ok ( err == ERROR_FILE_NOT_FOUND, "Bad Error number %d\n", err );
/* try FindFirstFileA on "c:\foo\bar\nul" */
@ -2530,7 +2530,7 @@ static void test_FindFirstFileA(void)
strcat(buffer2, "foo\\bar\\nul");
handle = FindFirstFileA(buffer2, &data);
err = GetLastError();
ok ( handle == INVALID_HANDLE_VALUE, "FindFirstFile on %s should Fail\n", buffer2 );
ok ( handle == INVALID_HANDLE_VALUE, "FindFirstFile on %s should fail\n", buffer2 );
ok ( err == ERROR_PATH_NOT_FOUND, "Bad Error number %d\n", err );
/* try FindFirstFileA on "c:\foo\nul\bar" */
@ -2539,7 +2539,7 @@ static void test_FindFirstFileA(void)
strcat(buffer2, "foo\\nul\\bar");
handle = FindFirstFileA(buffer2, &data);
err = GetLastError();
ok ( handle == INVALID_HANDLE_VALUE, "FindFirstFile on %s should Fail\n", buffer2 );
ok ( handle == INVALID_HANDLE_VALUE, "FindFirstFile on %s should fail\n", buffer2 );
ok ( err == ERROR_PATH_NOT_FOUND, "Bad Error number %d\n", err );
}

View File

@ -1132,7 +1132,7 @@ static HMODULE driver_load(const printenv_t * env, LPWSTR dllname)
if (!fpGetPrinterDriverDirectory(NULL, (LPWSTR) env->envname, 1,
(LPBYTE) fullname, len, &len)) {
/* Should never Fail */
/* Should never fail */
SetLastError(ERROR_BUFFER_OVERFLOW);
return NULL;
}
@ -1336,7 +1336,7 @@ static BOOL myAddPrinterDriverEx(DWORD level, LPBYTE pDriverInfo, DWORD dwFileCo
len = sizeof(apd.src) - sizeof(version3_subdirW) - sizeof(WCHAR);
if (!fpGetPrinterDriverDirectory(NULL, (LPWSTR) env->envname, 1,
(LPBYTE) apd.src, len, &len)) {
/* Should never Fail */
/* Should never fail */
return FALSE;
}
memcpy(apd.dst, apd.src, len);

View File

@ -1352,7 +1352,7 @@ if (0)
SysFreeString( str );
/* test put_text */
r = IXMLDOMDocument_put_text( doc, _bstr_("Should Fail") );
r = IXMLDOMDocument_put_text( doc, _bstr_("Should fail") );
ok( r == E_FAIL, "ret %08x\n", r );
/* check that there's a document element */
@ -9609,7 +9609,7 @@ static void test_load(void)
hr = IXMLDOMDocument_get_documentElement(doc, &elem);
ok(hr == S_OK, "got 0x%08x\n", hr);
/* create another instace for the same document, check url */
/* create another instance for the same document, check url */
hr = IXMLDOMElement_get_ownerDocument(elem, &doc2);
ok(hr == S_OK, "got 0x%08x\n", hr);

View File

@ -100,7 +100,7 @@ static const struct {
* exported by ordinal
*
* SEE ALSO
* CoCreateInstace, SHLoadOLE
* CoCreateInstance, SHLoadOLE
*/
HRESULT WINAPI SHCoCreateInstance(
LPCWSTR aclsid,

View File

@ -112,7 +112,7 @@ static const IMAGE_RESOURCE_DIRECTORY *find_entry_default( const IMAGE_RESOURCE_
/**********************************************************************
* push_language
*
* push a language in the list of languages to try
* push a language onto the list of languages to try
*/
static inline int push_language( WORD *list, int pos, WORD lang )
{

View File

@ -1675,8 +1675,8 @@ static void surface_download_data(struct wined3d_surface *surface, const struct
* |444444444444444444| \/
* --------------------
*
* this also means that any references to surface memory should work with the data as if were a
* standard texture with a non-power2 width instead of texture boxed up to be a power2 texture.
* This also means that any references to surface memory should work with the data as if it were a
* standard texture with a non-power2 width instead of a texture boxed up to be a power2 texture.
*
* internally the texture is still stored in a boxed format so any references to textureName will
* get a boxed texture with width pow2width and not a texture of width resource.width.

View File

@ -410,7 +410,7 @@ static void dump_property_storage_value(const LINK_PROPERTYSTORAGE_VALUE *lnk_va
if (lnk_value_hdr->size > data_size || lnk_value_hdr->size < sizeof(*lnk_value_hdr))
{
printf(" size: %d (invald)\n", lnk_value_hdr->size);
printf(" size: %d (invalid)\n", lnk_value_hdr->size);
return;
}