Assorted spelling fixes

Frédéric Delanoy frederic.delanoy at gmail.com
Tue Dec 3 07:25:04 CST 2013


---
 dlls/comctl32/commctrl.c          | 2 +-
 dlls/comctl32/listview.c          | 2 +-
 dlls/comctl32/toolbar.c           | 2 +-
 dlls/crypt32/tests/encode.c       | 2 +-
 dlls/d3d9/tests/visual.c          | 6 +++---
 dlls/dbghelp/elf_module.c         | 4 ++--
 dlls/ddraw/surface.c              | 2 +-
 dlls/ddraw/tests/dsurface.c       | 2 +-
 dlls/ddraw/tests/visual.c         | 2 +-
 dlls/dsound/tests/dsound.c        | 2 +-
 dlls/dxerr8/errors.dat            | 2 +-
 dlls/dxerr8/errors.h              | 2 +-
 dlls/dxerr9/errors.dat            | 2 +-
 dlls/dxerr9/errors.h              | 2 +-
 dlls/gdi32/tests/bitmap.c         | 4 ++--
 dlls/gdi32/tests/palette.c        | 2 +-
 dlls/kernel32/tests/drive.c       | 6 +++---
 dlls/kernel32/tests/volume.c      | 2 +-
 dlls/msi/tests/db.c               | 2 +-
 dlls/msxml3/tests/domdoc.c        | 2 +-
 dlls/ntdll/file.c                 | 2 +-
 dlls/ntdll/tests/exception.c      | 4 ++--
 dlls/ntdll/tests/info.c           | 2 +-
 dlls/ole32/ole2.c                 | 2 +-
 dlls/oleaut32/oleaut.c            | 2 +-
 dlls/shell32/pidl.c               | 2 +-
 dlls/shell32/pidl.h               | 5 ++---
 dlls/urlmon/tests/uri.c           | 2 +-
 dlls/user32/tests/win.c           | 2 +-
 dlls/wer/main.c                   | 2 +-
 dlls/wined3d/arb_program_shader.c | 4 ++--
 dlls/wined3d/surface.c            | 6 +++---
 dlls/wineqtdecoder/qtsplitter.c   | 2 +-
 dlls/winex11.drv/xdnd.c           | 2 +-
 dlls/ws2_32/socket.c              | 2 +-
 dlls/ws2_32/tests/sock.c          | 2 +-
 programs/explorer/explorer.c      | 2 +-
 programs/wineconsole/curses.c     | 2 +-
 programs/winefile/winefile.c      | 4 ++--
 tools/winedump/winedump.man.in    | 2 +-
 40 files changed, 52 insertions(+), 53 deletions(-)

diff --git a/dlls/comctl32/commctrl.c b/dlls/comctl32/commctrl.c
index 8588416..4f4e2b1 100644
--- a/dlls/comctl32/commctrl.c
+++ b/dlls/comctl32/commctrl.c
@@ -867,7 +867,7 @@ CreateMappedBitmap (HINSTANCE hInstance, INT_PTR idBitmap, UINT wFlags,
  *     Failure: 0
  *
  * NOTES
- *     Do not use this functions anymore. Use CreateToolbarEx instead.
+ *     Do not use this function anymore. Use CreateToolbarEx instead.
  */
 
 HWND WINAPI
diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c
index 17631b1..5ce7de2 100644
--- a/dlls/comctl32/listview.c
+++ b/dlls/comctl32/listview.c
@@ -1136,7 +1136,7 @@ static inline BOOL ranges_delitem(RANGES ranges, INT nItem)
  * ITERATOR DOCUMENTATION
  *
  * The iterator functions allow for easy, and convenient iteration
- * over items of interest in the list. Typically, you create a
+ * over items of interest in the list. Typically, you create an
  * iterator, use it, and destroy it, as such:
  *   ITERATOR i;
  *
diff --git a/dlls/comctl32/toolbar.c b/dlls/comctl32/toolbar.c
index 0c9714d..3151890 100644
--- a/dlls/comctl32/toolbar.c
+++ b/dlls/comctl32/toolbar.c
@@ -3347,7 +3347,7 @@ TOOLBAR_GetButtonInfoT(const TOOLBAR_INFO *infoPtr, INT Id, LPTBBUTTONINFOW lpTb
     if (lpTbInfo == NULL)
 	return -1;
 
-    /* MSDN documents a iImageLabel field added in Vista but it is not present in
+    /* MSDN documents an iImageLabel field added in Vista but it is not present in
      * the headers and tests shows that even with comctl 6 Vista accepts only the
      * original TBBUTTONINFO size
      */
diff --git a/dlls/crypt32/tests/encode.c b/dlls/crypt32/tests/encode.c
index 79df078..61d5c72 100644
--- a/dlls/crypt32/tests/encode.c
+++ b/dlls/crypt32/tests/encode.c
@@ -6767,7 +6767,7 @@ static void test_encodeCMSSignerInfo(DWORD dwEncoding)
     ok(GetLastError() == E_INVALIDARG,
        "Expected E_INVALIDARG, got %08x\n", GetLastError());
     /* To be encoded, a signer must have a valid cert ID, where a valid ID may
-     * be a key id or a issuer serial number with at least the issuer set, and
+     * be a key id or an issuer serial number with at least the issuer set, and
      * the encoding must include PKCS_7_ASN_ENCODING.
      * (That isn't enough to be decoded, see decoding tests.)
      */
diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c
index fffc005..c2a18a3 100644
--- a/dlls/d3d9/tests/visual.c
+++ b/dlls/d3d9/tests/visual.c
@@ -761,7 +761,7 @@ static void color_fill_test(IDirect3DDevice9 *device)
         IDirect3DSurface9_Release(rt_surface);
     }
 
-    /* Test ColorFill on a offscreen plain surface in D3DPOOL_DEFAULT (should pass) */
+    /* Test ColorFill on an offscreen plain surface in D3DPOOL_DEFAULT (should pass) */
     hr = IDirect3DDevice9_CreateOffscreenPlainSurface(device, 32, 32,
             D3DFMT_A8R8G8B8, D3DPOOL_DEFAULT, &offscreen_surface, NULL);
     ok(hr == D3D_OK, "Unable to create offscreen plain surface, hr = %08x\n", hr);
@@ -777,7 +777,7 @@ static void color_fill_test(IDirect3DDevice9 *device)
         IDirect3DSurface9_Release(offscreen_surface);
     }
 
-    /* Try ColorFill on a offscreen surface in sysmem (should fail) */
+    /* Try ColorFill on an offscreen surface in sysmem (should fail) */
     offscreen_surface = NULL;
     hr = IDirect3DDevice9_CreateOffscreenPlainSurface(device, 32, 32,
             D3DFMT_A8R8G8B8, D3DPOOL_SYSTEMMEM, &offscreen_surface, NULL);
@@ -10027,7 +10027,7 @@ static void stream_test(IDirect3DDevice9 *device)
     hr = IDirect3DDevice9_CreateIndexBuffer(device, sizeof(indices), 0, D3DFMT_INDEX16, D3DPOOL_DEFAULT, &ib, NULL);
     ok(hr == D3D_OK, "IDirect3DDevice9_CreateIndexBuffer failed with %08x\n", hr);
     if(!ib) {
-        skip("Failed to create a index buffer\n");
+        skip("Failed to create an index buffer\n");
         goto out;
     }
 
diff --git a/dlls/dbghelp/elf_module.c b/dlls/dbghelp/elf_module.c
index 8539d0c..f77fbdd 100644
--- a/dlls/dbghelp/elf_module.c
+++ b/dlls/dbghelp/elf_module.c
@@ -1725,8 +1725,8 @@ struct module*  elf_load_module(struct process* pcs, const WCHAR* name, unsigned
 /******************************************************************
  *		elf_synchronize_module_list
  *
- * this functions rescans the debuggee module's list and synchronizes it with
- * the one from 'pcs', ie:
+ * this function rescans the debuggee module's list and synchronizes it with
+ * the one from 'pcs', i.e.:
  * - if a module is in debuggee and not in pcs, it's loaded into pcs
  * - if a module is in pcs and not in debuggee, it's unloaded from pcs
  */
diff --git a/dlls/ddraw/surface.c b/dlls/ddraw/surface.c
index 37fd096..78d4744 100644
--- a/dlls/ddraw/surface.c
+++ b/dlls/ddraw/surface.c
@@ -5000,7 +5000,7 @@ static struct ddraw_surface *get_sub_mimaplevel(struct ddraw_surface *surface)
  * Loads a texture created with the DDSCAPS_ALLOCONLOAD
  *
  * This function isn't relayed to WineD3D because the whole interface is
- * implemented in DDraw only. For speed improvements a implementation which
+ * implemented in DDraw only. For speed improvements an implementation which
  * takes OpenGL more into account could be placed into WineD3D.
  *
  * Params:
diff --git a/dlls/ddraw/tests/dsurface.c b/dlls/ddraw/tests/dsurface.c
index 383ced2..bf8071d 100644
--- a/dlls/ddraw/tests/dsurface.c
+++ b/dlls/ddraw/tests/dsurface.c
@@ -2763,7 +2763,7 @@ static void BltParamTest(void)
     hr = IDirectDrawSurface_Blt(surface1, &valid, NULL, NULL, DDBLT_COLORFILL, &BltFx);
     ok(hr == DD_OK, "IDirectDrawSurface_Blt with a valid rectangle for color fill returned %08x\n", hr);
     hr = IDirectDrawSurface_Blt(surface1, &valid, NULL, &invalid3, DDBLT_COLORFILL, &BltFx);
-    ok(hr == DD_OK, "IDirectDrawSurface_Blt with a invalid, unused rectangle returned %08x\n", hr);
+    ok(hr == DD_OK, "IDirectDrawSurface_Blt with an invalid, unused rectangle returned %08x\n", hr);
     hr = IDirectDrawSurface_Blt(surface2, &invalid1, NULL, NULL, DDBLT_COLORFILL, &BltFx);
     ok(hr == DDERR_INVALIDRECT, "IDirectDrawSurface_Blt with a with invalid rectangle 1 returned %08x\n", hr);
     hr = IDirectDrawSurface_Blt(surface2, &invalid2, NULL, NULL, DDBLT_COLORFILL, &BltFx);
diff --git a/dlls/ddraw/tests/visual.c b/dlls/ddraw/tests/visual.c
index adcd9cb..109c24c 100644
--- a/dlls/ddraw/tests/visual.c
+++ b/dlls/ddraw/tests/visual.c
@@ -1019,7 +1019,7 @@ static void alpha_test(IDirect3DDevice7 *device)
         ok(hr == D3D_OK, "DrawPrimitive failed, hr = %08x\n", hr);
 
         /* Switch to the offscreen buffer, and redo the testing. SRCALPHA and DESTALPHA. The offscreen buffer
-         * has a alpha channel on its own. Clear the offscreen buffer with alpha = 0.5 again, then draw the
+         * has an alpha channel on its own. Clear the offscreen buffer with alpha = 0.5 again, then draw the
          * quads again. The SRCALPHA/INVSRCALPHA doesn't give any surprises, but the DESTALPHA/INVDESTALPHA
          * blending works as supposed now - blend factor is 0.5 in both cases, not 0.75 as from the input
          * vertices
diff --git a/dlls/dsound/tests/dsound.c b/dlls/dsound/tests/dsound.c
index 3a8bf52..3d679e5 100644
--- a/dlls/dsound/tests/dsound.c
+++ b/dlls/dsound/tests/dsound.c
@@ -1123,7 +1123,7 @@ static HRESULT test_duplicate(LPGUID lpGuid)
         bufdesc.lpwfxFormat=&wfx;
         rc=IDirectSound_CreateSoundBuffer(dso,&bufdesc,&original,NULL);
         ok(rc==DS_OK && original!=NULL,
-           "IDirectSound_CreateSoundBuffer() failed to create a original "
+           "IDirectSound_CreateSoundBuffer() failed to create an original "
            "buffer %08x\n",rc);
         if (rc==DS_OK && original!=NULL) {
             LPDIRECTSOUNDBUFFER duplicated=NULL;
diff --git a/dlls/dxerr8/errors.dat b/dlls/dxerr8/errors.dat
index b0cfff9..dd73561 100644
--- a/dlls/dxerr8/errors.dat
+++ b/dlls/dxerr8/errors.dat
@@ -267,7 +267,7 @@ DDERR_BLTFASTCANTCLIP                    If a clipper object is attached to the
 DDERR_NOBLTHW                            No blter.
 DDERR_NODDROPSHW                         No DirectDraw ROP hardware.
 DDERR_OVERLAYNOTVISIBLE                  returned when GetOverlayPosition is called on a hidden overlay
-DDERR_NOOVERLAYDEST                      returned when GetOverlayPosition is called on a overlay that UpdateOverlay has never been called on to establish a destination.
+DDERR_NOOVERLAYDEST                      returned when GetOverlayPosition is called on an overlay that UpdateOverlay has never been called on to establish a destination.
 DDERR_INVALIDPOSITION                    returned when the position of the overlay on the destination is no longer legal for that destionation.
 DDERR_NOTAOVERLAYSURFACE                 returned when an overlay member is called for a non-overlay surface
 DDERR_EXCLUSIVEMODEALREADYSET            An attempt was made to set the cooperative level when it was already set to exclusive.
diff --git a/dlls/dxerr8/errors.h b/dlls/dxerr8/errors.h
index 0d21bb6..c46fda8 100644
--- a/dlls/dxerr8/errors.h
+++ b/dlls/dxerr8/errors.h
@@ -808,7 +808,7 @@ static const WCHAR name269W[] = { 'D','D','E','R','R','_','O','V','E','R','L','A
 static const CHAR description269A[] = "returned when GetOverlayPosition is called on a hidden overlay";
 static const WCHAR description269W[] = { 'r','e','t','u','r','n','e','d',' ','w','h','e','n',' ','G','e','t','O','v','e','r','l','a','y','P','o','s','i','t','i','o','n',' ','i','s',' ','c','a','l','l','e','d',' ','o','n',' ','a',' ','h','i','d','d','e','n',' ','o','v','e','r','l','a','y',0 };
 static const WCHAR name270W[] = { 'D','D','E','R','R','_','N','O','O','V','E','R','L','A','Y','D','E','S','T',0 };
-static const CHAR description270A[] = "returned when GetOverlayPosition is called on a overlay that UpdateOverlay has never been called on to establish a destination.";
+static const CHAR description270A[] = "returned when GetOverlayPosition is called on an overlay that UpdateOverlay has never been called on to establish a destination.";
 static const WCHAR description270W[] = { 'r','e','t','u','r','n','e','d',' ','w','h','e','n',' ','G','e','t','O','v','e','r','l','a','y','P','o','s','i','t','i','o','n',' ','i','s',' ','c','a','l','l','e','d',' ','o','n',' ','a',' ','o','v','e','r','l','a','y',' ','t','h','a','t',' ','U','p','d','a','t','e','O','v','e','r','l','a','y',' ','h','a','s',' ','n','e','v','e','r',' ','b','e','e','n',' ','c','a','l','l','e','d',' ','o','n',' ','t','o',' ','e','s','t','a','b','l','i','s','h',' ','a',' ','d','e','s','t','i','o','n','a','t','i','o','n','.',0 };
 static const WCHAR name271W[] = { 'D','D','E','R','R','_','I','N','V','A','L','I','D','P','O','S','I','T','I','O','N',0 };
 static const CHAR description271A[] = "returned when the position of the overlay on the destination is no longer legal for that destination.";
diff --git a/dlls/dxerr9/errors.dat b/dlls/dxerr9/errors.dat
index 7e6720b..f8c6a95 100644
--- a/dlls/dxerr9/errors.dat
+++ b/dlls/dxerr9/errors.dat
@@ -347,7 +347,7 @@ DDERR_BLTFASTCANTCLIP                    If a clipper object is attached to the
 DDERR_NOBLTHW                            No blter.
 DDERR_NODDROPSHW                         No DirectDraw ROP hardware.
 DDERR_OVERLAYNOTVISIBLE                  returned when GetOverlayPosition is called on a hidden overlay
-DDERR_NOOVERLAYDEST                      returned when GetOverlayPosition is called on a overlay that UpdateOverlay has never been called on to establish a destination.
+DDERR_NOOVERLAYDEST                      returned when GetOverlayPosition is called on an overlay that UpdateOverlay has never been called on to establish a destination.
 DDERR_INVALIDPOSITION                    returned when the position of the overlay on the destination is no longer legal for that destionation.
 DDERR_NOTAOVERLAYSURFACE                 returned when an overlay member is called for a non-overlay surface
 DDERR_EXCLUSIVEMODEALREADYSET            An attempt was made to set the cooperative level when it was already set to exclusive.
diff --git a/dlls/dxerr9/errors.h b/dlls/dxerr9/errors.h
index 5696e4a..1c52be9 100644
--- a/dlls/dxerr9/errors.h
+++ b/dlls/dxerr9/errors.h
@@ -1048,7 +1048,7 @@ static const WCHAR name349W[] = { 'D','D','E','R','R','_','O','V','E','R','L','A
 static const CHAR description349A[] = "returned when GetOverlayPosition is called on a hidden overlay";
 static const WCHAR description349W[] = { 'r','e','t','u','r','n','e','d',' ','w','h','e','n',' ','G','e','t','O','v','e','r','l','a','y','P','o','s','i','t','i','o','n',' ','i','s',' ','c','a','l','l','e','d',' ','o','n',' ','a',' ','h','i','d','d','e','n',' ','o','v','e','r','l','a','y',0 };
 static const WCHAR name350W[] = { 'D','D','E','R','R','_','N','O','O','V','E','R','L','A','Y','D','E','S','T',0 };
-static const CHAR description350A[] = "returned when GetOverlayPosition is called on a overlay that UpdateOverlay has never been called on to establish a destination.";
+static const CHAR description350A[] = "returned when GetOverlayPosition is called on an overlay that UpdateOverlay has never been called on to establish a destination.";
 static const WCHAR description350W[] = { 'r','e','t','u','r','n','e','d',' ','w','h','e','n',' ','G','e','t','O','v','e','r','l','a','y','P','o','s','i','t','i','o','n',' ','i','s',' ','c','a','l','l','e','d',' ','o','n',' ','a',' ','o','v','e','r','l','a','y',' ','t','h','a','t',' ','U','p','d','a','t','e','O','v','e','r','l','a','y',' ','h','a','s',' ','n','e','v','e','r',' ','b','e','e','n',' ','c','a','l','l','e','d',' ','o','n',' ','t','o',' ','e','s','t','a','b','l','i','s','h',' ','a',' ','d','e','s','t','i','o','n','a','t','i','o','n','.',0 };
 static const WCHAR name351W[] = { 'D','D','E','R','R','_','I','N','V','A','L','I','D','P','O','S','I','T','I','O','N',0 };
 static const CHAR description351A[] = "returned when the position of the overlay on the destination is no longer legal for that destination.";
diff --git a/dlls/gdi32/tests/bitmap.c b/dlls/gdi32/tests/bitmap.c
index 06efb9f..f8e71b4 100644
--- a/dlls/gdi32/tests/bitmap.c
+++ b/dlls/gdi32/tests/bitmap.c
@@ -1346,7 +1346,7 @@ static void test_mono_dibsection(void)
     SetDIBitsToDevice(memdc, 0, 0, 10, 10, 0, 0, 0, 10, bits, pbmi, DIB_RGB_COLORS);
     ok(ds_bits[0] == 0xaa, "out_bits %02x\n", ds_bits[0]);
 
-    /* SetDIBitsToDevice with a inverted bmi -> normal dib section */
+    /* SetDIBitsToDevice with an inverted bmi -> normal dib section */
 
     colors[0].rgbRed = 0xff;
     colors[0].rgbGreen = 0xff;
@@ -1431,7 +1431,7 @@ static void test_mono_dibsection(void)
     SetDIBitsToDevice(memdc, 0, 0, 10, 10, 0, 0, 0, 10, bits, pbmi, DIB_RGB_COLORS);
     ok(ds_bits[0] == 0x55, "out_bits %02x\n", ds_bits[0]);
 
-    /* SetDIBitsToDevice with a inverted bmi -> inverted dib section */
+    /* SetDIBitsToDevice with an inverted bmi -> inverted dib section */
 
     colors[0].rgbRed = 0xff;
     colors[0].rgbGreen = 0xff;
diff --git a/dlls/gdi32/tests/palette.c b/dlls/gdi32/tests/palette.c
index ebdc4e4..71da6f9 100644
--- a/dlls/gdi32/tests/palette.c
+++ b/dlls/gdi32/tests/palette.c
@@ -96,7 +96,7 @@ static void test_DIB_PAL_COLORS(void) {
     getColor = GetPixel( memhdc, 0, 0 );
     ok( getColor == chkColor, "getColor=%08X\n", (UINT)getColor );
 
-    /* Test with a invalid DIBINDEX to DIB_PAL_COLORS */
+    /* Test with an invalid DIBINDEX to DIB_PAL_COLORS */
     setColor = DIBINDEX( 12 );
     SetPixel( memhdc, 0, 0, setColor );
     chkColor = RGB( 0, 0, 0 );
diff --git a/dlls/kernel32/tests/drive.c b/dlls/kernel32/tests/drive.c
index ca6cb44..4acd3e8 100644
--- a/dlls/kernel32/tests/drive.c
+++ b/dlls/kernel32/tests/drive.c
@@ -117,7 +117,7 @@ static void test_GetDiskFreeSpaceA(void)
 
                 if (!ret)
                     /* GetDiskFreeSpaceA() should succeed, but it can fail with too many
-                       different GetLastError() results to be usable for a ok() */
+                       different GetLastError() results to be usable for an ok() */
                     trace("GetDiskFreeSpaceA(%s) failed with %d\n", drive, GetLastError());
 
                 if( GetVersion() & 0x80000000)
@@ -134,7 +134,7 @@ static void test_GetDiskFreeSpaceA(void)
 
                     if (!ret)
                         /* GetDiskFreeSpaceExA() should succeed, but it can fail with too many
-                           different GetLastError() results to be usable for a ok() */
+                           different GetLastError() results to be usable for an ok() */
                         trace("GetDiskFreeSpaceExA(%s) failed with %d\n", drive, GetLastError());
 
                     ok( bytes_per_sector == 0 || /* empty cd rom drive */
@@ -192,7 +192,7 @@ static void test_GetDiskFreeSpaceW(void)
                    drive[0], ret, GetLastError());
             else if (!ret)
                 /* GetDiskFreeSpaceW() should succeed, but it can fail with too many
-                   different GetLastError() results to be usable for a ok() */
+                   different GetLastError() results to be usable for an ok() */
                 trace("GetDiskFreeSpaceW(%c) failed with %d\n", drive[0], GetLastError());
         }
         logical_drives >>= 1;
diff --git a/dlls/kernel32/tests/volume.c b/dlls/kernel32/tests/volume.c
index 0cd00e2..61da509 100644
--- a/dlls/kernel32/tests/volume.c
+++ b/dlls/kernel32/tests/volume.c
@@ -214,7 +214,7 @@ static void test_GetVolumeNameForVolumeMountPointA(void)
             "GetVolumeNameForVolumeMountPointA failed, wrong error returned, was %d, should be ERROR_FILENAME_EXCED_RANGE\n",
              GetLastError());
 
-    /* Try on a arbitrary directory */
+    /* Try on an arbitrary directory */
     /* On FAT filesystems it seems that GetLastError() is set to
        ERROR_INVALID_FUNCTION. */
     ret = pGetVolumeNameForVolumeMountPointA(temp_path, volume, len);
diff --git a/dlls/msi/tests/db.c b/dlls/msi/tests/db.c
index 058ed83..af8ac8c 100644
--- a/dlls/msi/tests/db.c
+++ b/dlls/msi/tests/db.c
@@ -1476,7 +1476,7 @@ static void test_longstrings(void)
         "CREATE TABLE `strings` ( `id` INT, `val` CHAR(0) PRIMARY KEY `id`)");
     ok(r == ERROR_SUCCESS, "query failed\n");
 
-    /* try a insert a very long string */
+    /* try to insert a very long string */
     str = HeapAlloc(GetProcessHeap(), 0, STRING_LENGTH+sizeof insert_query);
     len = strchr(insert_query, 'Z') - insert_query;
     strcpy(str, insert_query);
diff --git a/dlls/msxml3/tests/domdoc.c b/dlls/msxml3/tests/domdoc.c
index 40b9322..48f3c17 100644
--- a/dlls/msxml3/tests/domdoc.c
+++ b/dlls/msxml3/tests/domdoc.c
@@ -6624,7 +6624,7 @@ static void test_TransformWithLoadingLocalFile(void)
     WriteFile(file, szBasicTransformXML, strlen(szBasicTransformXML), &dwWritten, NULL);
     CloseHandle(file);
 
-    /* Correct path to not include a escape character. */
+    /* Correct path to not include an escape character. */
     for(i=0; i < strlen(lpPathBuffer); i++)
     {
         if(lpPathBuffer[i] == '\\')
diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c
index 1de2c61..bdbf121 100644
--- a/dlls/ntdll/file.c
+++ b/dlls/ntdll/file.c
@@ -1323,7 +1323,7 @@ static NTSTATUS ioctl_completion( void *arg, IO_STATUS_BLOCK *io, NTSTATUS statu
     return status;
 }
 
-/* do a ioctl call through the server */
+/* do an ioctl call through the server */
 static NTSTATUS server_ioctl_file( HANDLE handle, HANDLE event,
                                    PIO_APC_ROUTINE apc, PVOID apc_context,
                                    IO_STATUS_BLOCK *io, ULONG code,
diff --git a/dlls/ntdll/tests/exception.c b/dlls/ntdll/tests/exception.c
index 6f75d12..a97cf18 100644
--- a/dlls/ntdll/tests/exception.c
+++ b/dlls/ntdll/tests/exception.c
@@ -314,7 +314,7 @@ static DWORD rtlraiseexception_handler( EXCEPTION_RECORD *rec, EXCEPTION_REGISTR
         return ExceptionContinueSearch;
 
     /* Eip in context is decreased by 1
-     * Increase it again, else execution will continue in the middle of a instruction */
+     * Increase it again, else execution will continue in the middle of an instruction */
     if(rec->ExceptionCode == EXCEPTION_BREAKPOINT && (context->Eip == (DWORD)code_mem + 0xa))
         context->Eip += 1;
     return ExceptionContinueExecution;
@@ -796,7 +796,7 @@ static void test_debugger(void)
 
             if (counter > 100)
             {
-                ok(FALSE, "got way too many exceptions, probably caught in a infinite loop, terminating child\n");
+                ok(FALSE, "got way too many exceptions, probably caught in an infinite loop, terminating child\n");
                 pNtTerminateProcess(pi.hProcess, 1);
             }
             else if (counter >= 2) /* skip startup breakpoint */
diff --git a/dlls/ntdll/tests/info.c b/dlls/ntdll/tests/info.c
index ef1bed5..21e3cff 100644
--- a/dlls/ntdll/tests/info.c
+++ b/dlls/ntdll/tests/info.c
@@ -110,7 +110,7 @@ static void test_query_basic(void)
     ok( status == STATUS_ACCESS_VIOLATION || status == STATUS_INVALID_PARAMETER /* vista */,
         "Expected STATUS_ACCESS_VIOLATION or STATUS_INVALID_PARAMETER, got %08x\n", status);
 
-    /* Use a existing class, correct length, a pointer to a buffer but no ReturnLength pointer */
+    /* Use an existing class, correct length, a pointer to a buffer but no ReturnLength pointer */
     trace("Check no ReturnLength pointer\n");
     status = pNtQuerySystemInformation(SystemBasicInformation, &sbi, sizeof(sbi), NULL);
     ok( status == STATUS_SUCCESS, "Expected STATUS_SUCCESS, got %08x\n", status);
diff --git a/dlls/ole32/ole2.c b/dlls/ole32/ole2.c
index 5e789f2..910c4e9 100644
--- a/dlls/ole32/ole2.c
+++ b/dlls/ole32/ole2.c
@@ -69,7 +69,7 @@ typedef struct tagTrackerWindowInfo
 
   BOOL       escPressed;
   HWND       curTargetHWND;	/* window the mouse is hovering over */
-  HWND       curDragTargetHWND; /* might be a ancestor of curTargetHWND */
+  HWND       curDragTargetHWND; /* might be an ancestor of curTargetHWND */
   IDropTarget* curDragTarget;
   POINTL     curMousePos;       /* current position of the mouse in screen coordinates */
   DWORD      dwKeyState;        /* current state of the shift and ctrl keys and the mouse buttons */
diff --git a/dlls/oleaut32/oleaut.c b/dlls/oleaut32/oleaut.c
index 5af6d18..60ff191 100644
--- a/dlls/oleaut32/oleaut.c
+++ b/dlls/oleaut32/oleaut.c
@@ -902,6 +902,6 @@ HRESULT WINAPI DllUnregisterServer(void)
 HCURSOR WINAPI OleIconToCursor( HINSTANCE hinstExe, HICON hIcon)
 {
     FIXME("(%p,%p), partially implemented.\n",hinstExe,hIcon);
-    /* FIXME: make a extended conversation from HICON to HCURSOR */
+    /* FIXME: make an extended conversation from HICON to HCURSOR */
     return CopyCursor(hIcon);
 }
diff --git a/dlls/shell32/pidl.c b/dlls/shell32/pidl.c
index 2be47a8..794ff12 100644
--- a/dlls/shell32/pidl.c
+++ b/dlls/shell32/pidl.c
@@ -2479,7 +2479,7 @@ DWORD _ILGetFileAttributes(LPCITEMIDLIST pidl, LPSTR pOut, UINT uOutSize)
 /*************************************************************************
  * ILFreeaPidl
  *
- * free a aPidl struct
+ * frees an aPidl struct
  */
 void _ILFreeaPidl(LPITEMIDLIST * apidl, UINT cidl)
 {
diff --git a/dlls/shell32/pidl.h b/dlls/shell32/pidl.h
index 5e9ad92..fc14ab3 100644
--- a/dlls/shell32/pidl.h
+++ b/dlls/shell32/pidl.h
@@ -20,10 +20,9 @@
  *
  * NOTES:
  *
- * DO NOT use this definitions outside the shell32.dll !
+ * DO NOT use these definitions outside the shell32.dll!
  *
- * The contents of a pidl should never used from a application
- * directly.
+ * The contents of a pidl should never be used directly from an application.
  *
  * Undocumented:
  * MS says: the abID of SHITEMID should be treated as binary data and not
diff --git a/dlls/urlmon/tests/uri.c b/dlls/urlmon/tests/uri.c
index 7bd1e03..ad1d582 100644
--- a/dlls/urlmon/tests/uri.c
+++ b/dlls/urlmon/tests/uri.c
@@ -7416,7 +7416,7 @@ static void test_IUri_GetPropertyBSTR(void) {
         hr = IUri_GetPropertyBSTR(uri, Uri_PROPERTY_RAW_URI, NULL, 0);
         ok(hr == E_POINTER, "Error: GetPropertyBSTR returned 0x%08x, expected 0x%08x.\n", hr, E_POINTER);
 
-        /* Make sure it handles a invalid Uri_PROPERTY's correctly. */
+        /* Make sure it handles an invalid Uri_PROPERTY correctly. */
         hr = IUri_GetPropertyBSTR(uri, Uri_PROPERTY_PORT, &received, 0);
         ok(hr == E_INVALIDARG /* IE10 */ || broken(hr == S_OK), "Error: GetPropertyBSTR returned 0x%08x, expected E_INVALIDARG or S_OK.\n", hr);
         if(SUCCEEDED(hr)) {
diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c
index d068cc4..d7fd4b9 100644
--- a/dlls/user32/tests/win.c
+++ b/dlls/user32/tests/win.c
@@ -2329,7 +2329,7 @@ static void test_SetMenu(HWND parent)
     SetWindowLongA(child, GWL_STYLE, style);
 
     SetWindowLongA(child, GWL_STYLE, style | WS_OVERLAPPED);
-    ok(!SetMenu(child, hMenu), "SetMenu on a overlapped child window should fail\n");
+    ok(!SetMenu(child, hMenu), "SetMenu on an overlapped child window should fail\n");
     SetWindowLongA(child, GWL_STYLE, style);
 
     DestroyWindow(child);
diff --git a/dlls/wer/main.c b/dlls/wer/main.c
index 0e14eee..9b1d6a0 100644
--- a/dlls/wer/main.c
+++ b/dlls/wer/main.c
@@ -199,7 +199,7 @@ HRESULT WINAPI WerReportAddDump(HREPORT hReportHandle, HANDLE hProcess, HANDLE h
 /***********************************************************************
  * WerReportAddFile (wer.@)
  *
- * Add File to a error report handle.
+ * Add a file to an error report handle.
  *
  * PARAMS
  *  hreport [i] error reporting handle to add the file
diff --git a/dlls/wined3d/arb_program_shader.c b/dlls/wined3d/arb_program_shader.c
index ee35760..23ca809 100644
--- a/dlls/wined3d/arb_program_shader.c
+++ b/dlls/wined3d/arb_program_shader.c
@@ -175,7 +175,7 @@ struct control_frame
 struct arb_ps_np2fixup_info
 {
     struct ps_np2fixup_info         super;
-    /* For ARB we need a offset value:
+    /* For ARB we need an offset value:
      * With both GLSL and ARB mode the NP2 fixup information (the texture dimensions) are stored in a
      * consecutive way (GLSL uses a uniform array). Since ARB doesn't know the notion of a "standalone"
      * array we need an offset to the index inside the program local parameter array. */
@@ -5315,7 +5315,7 @@ static BOOL get_bool_const(const struct wined3d_shader_instruction *ins,
 
     if (reg_maps->local_bool_consts & flag)
     {
-        /* What good is a if(bool) with a hardcoded local constant? I don't know, but handle it */
+        /* What good is an if(bool) with a hardcoded local constant? I don't know, but handle it */
         LIST_FOR_EACH_ENTRY(constant, &shader->constantsB, struct wined3d_shader_lconst, entry)
         {
             if (constant->idx == idx)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 02f1299..48512eb 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -4639,9 +4639,9 @@ static HRESULT surface_blt_special(struct wined3d_surface *dst_surface, const RE
         /* Blt is a pretty powerful call, while glCopyTexSubImage2D is not. glCopyTexSubImage cannot
          * flip the image nor scale it.
          *
-         * -> If the app asks for a unscaled, upside down copy, just perform one glCopyTexSubImage2D call
-         * -> If the app wants a image width an unscaled width, copy it line per line
-         * -> If the app wants a image that is scaled on the x axis, and the destination rectangle is smaller
+         * -> If the app asks for an unscaled, upside down copy, just perform one glCopyTexSubImage2D call
+         * -> If the app wants an image width an unscaled width, copy it line per line
+         * -> If the app wants an image that is scaled on the x axis, and the destination rectangle is smaller
          *    than the frame buffer, draw an upside down scaled image onto the fb, read it back and restore the
          *    back buffer. This is slower than reading line per line, thus not used for flipping
          * -> If the app wants a scaled image with a dest rect that is bigger than the fb, it has to be copied
diff --git a/dlls/wineqtdecoder/qtsplitter.c b/dlls/wineqtdecoder/qtsplitter.c
index 9aa6314..e4ebef3 100644
--- a/dlls/wineqtdecoder/qtsplitter.c
+++ b/dlls/wineqtdecoder/qtsplitter.c
@@ -1072,7 +1072,7 @@ static HRESULT QT_Process_Movie(QTSplitter* filter)
         return hr;
 
     trk = GetMovieIndTrackType(filter->pQTMovie, 1, AudioMediaCharacteristic, movieTrackCharacteristic | movieTrackEnabledOnly);
-    TRACE("%p is a audio track\n",trk);
+    TRACE("%p is an audio track\n",trk);
     if (trk)
         hr = QT_Process_Audio_Track(filter, trk);
 
diff --git a/dlls/winex11.drv/xdnd.c b/dlls/winex11.drv/xdnd.c
index 637fc06..5d37495 100644
--- a/dlls/winex11.drv/xdnd.c
+++ b/dlls/winex11.drv/xdnd.c
@@ -68,7 +68,7 @@ static BOOL XDNDAccepted = FALSE;
 static DWORD XDNDDropEffect = DROPEFFECT_NONE;
 /* the last window the mouse was over */
 static HWND XDNDLastTargetWnd;
-/* might be a ancestor of XDNDLastTargetWnd */
+/* might be an ancestor of XDNDLastTargetWnd */
 static HWND XDNDLastDropTargetWnd;
 
 static void X11DRV_XDND_InsertXDNDData(int property, int format, void* data, unsigned int len);
diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
index 679258b..304b0eb 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -1378,7 +1378,7 @@ static unsigned int ws_sockaddr_ws2u(const struct WS_sockaddr* wsaddr, int wsadd
     case WS_AF_UNSPEC: {
         /* Try to determine the needed space by the passed windows sockaddr space */
         switch (wsaddrlen) {
-        default: /* likely a ipv4 address */
+        default: /* likely an ipv4 address */
         case sizeof(struct WS_sockaddr_in):
             uaddrlen = sizeof(struct sockaddr_in);
             break;
diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c
index ac6ee10..636a292 100644
--- a/dlls/ws2_32/tests/sock.c
+++ b/dlls/ws2_32/tests/sock.c
@@ -7107,7 +7107,7 @@ START_TEST( sock )
 
     test_completion_port();
 
-    /* this is a io heavy test, do it at the end so the kernel doesn't start dropping packets */
+    /* this is an io heavy test, do it at the end so the kernel doesn't start dropping packets */
     test_send();
     test_synchronous_WSAIoctl();
 
diff --git a/programs/explorer/explorer.c b/programs/explorer/explorer.c
index d01a3c3..1b900d0 100644
--- a/programs/explorer/explorer.c
+++ b/programs/explorer/explorer.c
@@ -322,7 +322,7 @@ static void make_explorer_window(IShellFolder* startFolder)
     info = HeapAlloc(GetProcessHeap(),HEAP_ZERO_MEMORY,sizeof(explorer_info));
     if(!info)
     {
-        WINE_ERR("Could not allocate a explorer_info struct\n");
+        WINE_ERR("Could not allocate an explorer_info struct\n");
         return;
     }
     hres = CoCreateInstance(&CLSID_ExplorerBrowser,NULL,CLSCTX_INPROC_SERVER,
diff --git a/programs/wineconsole/curses.c b/programs/wineconsole/curses.c
index 735ec97..77d7718 100644
--- a/programs/wineconsole/curses.c
+++ b/programs/wineconsole/curses.c
@@ -589,7 +589,7 @@ static unsigned WCCURSES_FillSimpleChar(INPUT_RECORD* ir, unsigned real_inchar)
          */
         if ((inchar = wgetch(stdscr)) != ERR)
         {
-            /* we got a alt-something key... */
+            /* we got an alt-something key... */
             cks = LEFT_ALT_PRESSED;
         }
         else
diff --git a/programs/winefile/winefile.c b/programs/winefile/winefile.c
index c85d1ac..d2413d1 100644
--- a/programs/winefile/winefile.c
+++ b/programs/winefile/winefile.c
@@ -2005,7 +2005,7 @@ static BOOL activate_drive_window(LPCWSTR path)
 
 	_wsplitpath(path, drv1, 0, 0, 0);
 
-	/* search for a already open window for the same drive */
+        /* search for an already open window for the same drive */
 	for(child_wnd=GetNextWindow(Globals.hmdiclient,GW_CHILD); child_wnd; child_wnd=GetNextWindow(child_wnd, GW_HWNDNEXT)) {
 		ChildWnd* child = (ChildWnd*)GetWindowLongPtrW(child_wnd, GWLP_USERDATA);
 
@@ -2030,7 +2030,7 @@ static BOOL activate_fs_window(LPCWSTR filesys)
 {
 	HWND child_wnd;
 
-	/* search for a already open window of the given file system name */
+        /* search for an already open window of the given file system name */
 	for(child_wnd=GetNextWindow(Globals.hmdiclient,GW_CHILD); child_wnd; child_wnd=GetNextWindow(child_wnd, GW_HWNDNEXT)) {
 		ChildWnd* child = (ChildWnd*) GetWindowLongPtrW(child_wnd, GWLP_USERDATA);
 
diff --git a/tools/winedump/winedump.man.in b/tools/winedump/winedump.man.in
index 085e0fd..d8dbd95 100644
--- a/tools/winedump/winedump.man.in
+++ b/tools/winedump/winedump.man.in
@@ -57,7 +57,7 @@ Mode options depend on the mode given as the first argument.
 .B Help mode:
 .nf
 No options are used.
-The program prints the help info and than exits.
+The program prints the help info and then exits.
 .PP
 .B Dump mode:
 .IP \fIfile\fR
-- 
1.8.5




More information about the wine-patches mailing list