Assorted typos fixes

Andrey Gusev andrey.goosev at gmail.com
Sat Apr 30 08:10:35 CDT 2016


-------------- next part --------------
From e286b83bab41fc6e0fd314f65ccbf90288367e41 Mon Sep 17 00:00:00 2001
Message-Id: <e286b83bab41fc6e0fd314f65ccbf90288367e41.1462021728.git.andrey.goosev at gmail.com>
From: Andrey Gusev <andrey.goosev at gmail.com>
Date: Sat, 30 Apr 2016 16:08:27 +0300
Subject: [PATCH] Assorted typos fixes

Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
---
 dlls/d3d9/tests/visual.c       | 2 +-
 dlls/ddraw/tests/d3d.c         | 2 +-
 dlls/msxml3/saxreader.c        | 2 +-
 dlls/setupapi/devinst.c        | 2 +-
 dlls/shell32/tests/assoc.c     | 2 +-
 dlls/user32/tests/winstation.c | 2 +-
 dlls/wined3d/utils.c           | 6 +++---
 dlls/wintrust/tests/crypt.c    | 6 +++---
 tools/winapi/nativeapi.pm      | 4 ++--
 9 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c
index c337c6c..d8c83a3 100644
--- a/dlls/d3d9/tests/visual.c
+++ b/dlls/d3d9/tests/visual.c
@@ -11751,7 +11751,7 @@ static void stream_test(void)
     hr = IDirect3DDevice9_CreateVertexShader(device, shader_code, &shader);
     ok(SUCCEEDED(hr), "IDirect3DDevice9_CreateVertexShader failed hr=%08x\n", hr);
     if(!shader) {
-        skip("Failed to create a vetex shader\n");
+        skip("Failed to create a vertex shader\n");
         goto out;
     }
 
diff --git a/dlls/ddraw/tests/d3d.c b/dlls/ddraw/tests/d3d.c
index d877020..0e9a43b 100644
--- a/dlls/ddraw/tests/d3d.c
+++ b/dlls/ddraw/tests/d3d.c
@@ -1155,7 +1155,7 @@ static void Direct3D1Test(void)
     /* Interface consistency check. */
     hr = IDirect3DDevice_GetDirect3D(Direct3DDevice1, &Direct3D_alt);
     ok(hr == D3D_OK, "IDirect3DDevice_GetDirect3D failed: %08x\n", hr);
-    ok(Direct3D_alt == Direct3D1, "Direct3D1 struct pointer missmatch: %p != %p\n", Direct3D_alt, Direct3D1);
+    ok(Direct3D_alt == Direct3D1, "Direct3D1 struct pointer mismatch: %p != %p\n", Direct3D_alt, Direct3D1);
     IDirect3D_Release(Direct3D_alt);
 
     memset(&desc, 0, sizeof(desc));
diff --git a/dlls/msxml3/saxreader.c b/dlls/msxml3/saxreader.c
index 2b087bc..0ce135b 100644
--- a/dlls/msxml3/saxreader.c
+++ b/dlls/msxml3/saxreader.c
@@ -2522,7 +2522,7 @@ static HRESULT internal_parseBuffer(saxreader *This, const char *buffer, int siz
     if (encoding == XML_CHAR_ENCODING_NONE)
     {
         const WCHAR *ptr = (WCHAR*)buffer;
-        /* xml declaration with possibly specfied encoding will be still handled by parser */
+        /* xml declaration with possibly specified encoding will be still handled by parser */
         if ((size >= 2) && *ptr == '<' && ptr[1] != '?')
         {
             enc_name = (xmlChar*)xmlGetCharEncodingName(XML_CHAR_ENCODING_UTF16LE);
diff --git a/dlls/setupapi/devinst.c b/dlls/setupapi/devinst.c
index 2669544..02e75b6 100644
--- a/dlls/setupapi/devinst.c
+++ b/dlls/setupapi/devinst.c
@@ -1144,7 +1144,7 @@ SetupDiCreateDeviceInfoListExA(const GUID *ClassGuid,
  *   ClassGuid [I] if not NULL only devices with GUID ClassGuid are associated
  *                 with this list.
  *   hwndParent [I] hwnd needed for interface related actions.
- *   MachineName [I] name of machine to create emtpy DeviceInfoSet list, if NULL
+ *   MachineName [I] name of machine to create empty DeviceInfoSet list, if NULL
  *                   local registry will be used.
  *   Reserved [I] must be NULL
  *
diff --git a/dlls/shell32/tests/assoc.c b/dlls/shell32/tests/assoc.c
index 9cd6aeb..c425038 100644
--- a/dlls/shell32/tests/assoc.c
+++ b/dlls/shell32/tests/assoc.c
@@ -160,7 +160,7 @@ static void test_IQueryAssociations_GetString(void)
     r = RegSetValueExW(test_extension_key, NULL, 0, REG_SZ, (PBYTE)test_progidW, sizeof(test_progidW));
     ok(r == ERROR_SUCCESS, "RegSetValueExW(HKCR\\.test, NULL, \"testfile\") failed: 0x%lx\n", r);
 
-    /* adding progid key with no information shuld fail to return information */
+    /* adding progid key with no information should fail to return information */
     r = RegCreateKeyExW(HKEY_CLASSES_ROOT, test_progidW, 0, NULL, 0, KEY_ALL_ACCESS, NULL, &test_progid_key, NULL);
     ok(r == ERROR_SUCCESS, "RegCreateKeyExW(HKCR, \"testfile\") failed: 0x%lx\n", r);
     getstring_test(test_extensionW, NULL, ASSOCSTR_DEFAULTICON, NULL, __LINE__);
diff --git a/dlls/user32/tests/winstation.c b/dlls/user32/tests/winstation.c
index 94be4c9..6bebfe9 100644
--- a/dlls/user32/tests/winstation.c
+++ b/dlls/user32/tests/winstation.c
@@ -284,7 +284,7 @@ static void test_handles(void)
 
     SetLastError( 0xdeadbeef );
     d2 = OpenDesktopA( "", 0, TRUE, DESKTOP_ALL_ACCESS );
-    ok( !d2, "open mepty desktop succeeded\n" );
+    ok( !d2, "open empty desktop succeeded\n" );
     ok( GetLastError() == ERROR_INVALID_HANDLE, "wrong error %u\n", GetLastError() );
 
     SetLastError( 0xdeadbeef );
diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
index e2e3ec9..ac12e79 100644
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -3875,7 +3875,7 @@ const char *debug_d3dtexturefiltertype(enum wined3d_texture_filter_type filter_t
         D3DTEXTUREFILTERTYPE_TO_STR(WINED3D_TEXF_GAUSSIAN_QUAD);
 #undef D3DTEXTUREFILTERTYPE_TO_STR
         default:
-            FIXME("Unrecognied texture filter type 0x%08x.\n", filter_type);
+            FIXME("Unrecognized texture filter type 0x%08x.\n", filter_type);
             return "unrecognized";
     }
 }
@@ -4113,7 +4113,7 @@ const char *debug_fbostatus(GLenum status) {
         FBOSTATUS_TO_STR(GL_FRAMEBUFFER_UNDEFINED);
 #undef FBOSTATUS_TO_STR
         default:
-            FIXME("Unrecognied FBO status 0x%08x\n", status);
+            FIXME("Unrecognized FBO status 0x%08x\n", status);
             return "unrecognized";
     }
 }
@@ -4131,7 +4131,7 @@ const char *debug_glerror(GLenum error) {
         GLERROR_TO_STR(GL_INVALID_FRAMEBUFFER_OPERATION);
 #undef GLERROR_TO_STR
         default:
-            FIXME("Unrecognied GL error 0x%08x\n", error);
+            FIXME("Unrecognized GL error 0x%08x\n", error);
             return "unrecognized";
     }
 }
diff --git a/dlls/wintrust/tests/crypt.c b/dlls/wintrust/tests/crypt.c
index d7e76b1..cfed53b 100644
--- a/dlls/wintrust/tests/crypt.c
+++ b/dlls/wintrust/tests/crypt.c
@@ -1233,21 +1233,21 @@ static void test_sip(void)
     ok(ret, "CryptSIPRetrieveSubjectGuid failed (%x)\n", GetLastError());
 
     ret = pPutSignedDataMsg(&info, X509_ASN_ENCODING, &index, 4, (BYTE*)"test");
-    ok(!ret, "CryptSIPPutSignedDataMsg succeedded\n");
+    ok(!ret, "CryptSIPPutSignedDataMsg succeeded\n");
     index = GetLastError();
     ok(index == ERROR_PATH_NOT_FOUND, "GetLastError returned %x\n", index);
 
     info.hFile = file;
     info.pwsFileName = nameW;
     ret = pPutSignedDataMsg(&info, X509_ASN_ENCODING, &index, 4, (BYTE*)"test");
-    ok(!ret, "CryptSIPPutSignedDataMsg succeedded\n");
+    ok(!ret, "CryptSIPPutSignedDataMsg succeeded\n");
     index = GetLastError();
     todo_wine ok(index == ERROR_INVALID_PARAMETER, "GetLastError returned %x\n", index);
 
     info.hFile = INVALID_HANDLE_VALUE;
     info.pwsFileName = nameW;
     ret = pPutSignedDataMsg(&info, X509_ASN_ENCODING, &index, 4, (BYTE*)"test");
-    ok(!ret, "CryptSIPPutSignedDataMsg succeedded\n");
+    ok(!ret, "CryptSIPPutSignedDataMsg succeeded\n");
     index = GetLastError();
     ok(index == ERROR_SHARING_VIOLATION, "GetLastError returned %x\n", index);
 
diff --git a/tools/winapi/nativeapi.pm b/tools/winapi/nativeapi.pm
index 78b6ec9..4804486 100644
--- a/tools/winapi/nativeapi.pm
+++ b/tools/winapi/nativeapi.pm
@@ -98,7 +98,7 @@ sub new($) {
 	# remove leading and trailing whitespace
 	s/^\s*(.*?)\s*$/$1/;
 
-	# skip emty lines
+	# skip empty lines
 	if(/^$/) { next; }
 
 	# skip comments
@@ -147,7 +147,7 @@ sub new($) {
 	# remove leading and trailing whitespace
 	s/^\s*(.*?)\s*$/$1/;
 
-	# skip emty lines
+	# skip empty lines
 	if(/^$/) { next; }
 
 	if(/^\#undef\s+(\S+)$/) {
-- 
2.5.5



More information about the wine-patches mailing list