Assorted spelling fixes

Frédéric Delanoy frederic.delanoy at gmail.com
Thu Jan 9 08:02:45 CST 2014


---
 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 a77bad4..280ba77 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 b8537da..843ab8b 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 ad38fd5..532c322 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 09b8998..e6ac25e 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 159f74b..73ac97f 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 c7f06cc..3f00b07 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 bbf5847..fda54aa 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 7101e7b..4a6828b 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 a34fff3..6fc2869 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 e9294d7..9c698c2 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 0fcaa9c..2183368 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 a2f1801..adb1a97 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 91b35fd..19295eb 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -1674,8 +1674,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 b0f6580..0a06b49 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;
         }
 
-- 
1.8.5.2




More information about the wine-patches mailing list