From 91f2435469fb812bc3cf14f9612756c11c8c248d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Delanoy?= Date: Thu, 9 Jan 2014 15:02:45 +0100 Subject: [PATCH] Assorted spelling fixes. --- dlls/advapi32/security.c | 2 +- dlls/advapi32/tests/lsa.c | 2 +- dlls/crypt32/tests/encode.c | 4 ++-- dlls/d3d10core/inputlayout.c | 2 +- dlls/d3d9/device.c | 2 +- dlls/dbghelp/storage.c | 2 +- dlls/gdi32/freetype.c | 2 +- dlls/kernel32/tests/file.c | 18 +++++++++--------- dlls/localspl/provider.c | 4 ++-- dlls/msxml3/tests/domdoc.c | 4 ++-- dlls/shell32/shellole.c | 2 +- dlls/version/version.c | 2 +- dlls/wined3d/surface.c | 4 ++-- tools/winedump/lnk.c | 2 +- 14 files changed, 26 insertions(+), 26 deletions(-) diff --git a/dlls/advapi32/security.c b/dlls/advapi32/security.c index a77bad499de..280ba77ec75 100644 --- a/dlls/advapi32/security.c +++ b/dlls/advapi32/security.c @@ -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; } diff --git a/dlls/advapi32/tests/lsa.c b/dlls/advapi32/tests/lsa.c index b8537daf242..843ab8bfd5d 100644 --- a/dlls/advapi32/tests/lsa.c +++ b/dlls/advapi32/tests/lsa.c @@ -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); diff --git a/dlls/crypt32/tests/encode.c b/dlls/crypt32/tests/encode.c index ad38fd53866..532c3220b32 100644 --- a/dlls/crypt32/tests/encode.c +++ b/dlls/crypt32/tests/encode.c @@ -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 */ diff --git a/dlls/d3d10core/inputlayout.c b/dlls/d3d10core/inputlayout.c index 09b8998df84..e6ac25e4691 100644 --- a/dlls/d3d10core/inputlayout.c +++ b/dlls/d3d10core/inputlayout.c @@ -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; } diff --git a/dlls/d3d9/device.c b/dlls/d3d9/device.c index 159f74b10a6..73ac97f3eea 100644 --- a/dlls/d3d9/device.c +++ b/dlls/d3d9/device.c @@ -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; } diff --git a/dlls/dbghelp/storage.c b/dlls/dbghelp/storage.c index c7f06cc11bd..3f00b078467 100644 --- a/dlls/dbghelp/storage.c +++ b/dlls/dbghelp/storage.c @@ -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; diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c index bbf5847653d..fda54aad07d 100644 --- a/dlls/gdi32/freetype.c +++ b/dlls/gdi32/freetype.c @@ -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 diff --git a/dlls/kernel32/tests/file.c b/dlls/kernel32/tests/file.c index 7101e7b42a8..4a6828bb269 100644 --- a/dlls/kernel32/tests/file.c +++ b/dlls/kernel32/tests/file.c @@ -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 ); } diff --git a/dlls/localspl/provider.c b/dlls/localspl/provider.c index a34fff3677c..6fc28692a79 100644 --- a/dlls/localspl/provider.c +++ b/dlls/localspl/provider.c @@ -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); diff --git a/dlls/msxml3/tests/domdoc.c b/dlls/msxml3/tests/domdoc.c index e9294d7ecdb..9c698c2d9cc 100644 --- a/dlls/msxml3/tests/domdoc.c +++ b/dlls/msxml3/tests/domdoc.c @@ -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); diff --git a/dlls/shell32/shellole.c b/dlls/shell32/shellole.c index 5fff16cc56c..74c5965ba71 100644 --- a/dlls/shell32/shellole.c +++ b/dlls/shell32/shellole.c @@ -100,7 +100,7 @@ static const struct { * exported by ordinal * * SEE ALSO - * CoCreateInstace, SHLoadOLE + * CoCreateInstance, SHLoadOLE */ HRESULT WINAPI SHCoCreateInstance( LPCWSTR aclsid, diff --git a/dlls/version/version.c b/dlls/version/version.c index a2f1801c690..adb1a977de0 100644 --- a/dlls/version/version.c +++ b/dlls/version/version.c @@ -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 ) { diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c index a7c9d5cff29..35e3783bfbc 100644 --- a/dlls/wined3d/surface.c +++ b/dlls/wined3d/surface.c @@ -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. diff --git a/tools/winedump/lnk.c b/tools/winedump/lnk.c index b0f6580cb3d..0a06b49a118 100644 --- a/tools/winedump/lnk.c +++ b/tools/winedump/lnk.c @@ -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; }