Assorted spelling fixes.

Francois Gouget fgouget at free.fr
Tue Oct 23 08:30:30 CDT 2007


---
 dlls/comctl32/listview.c        |    2 +-
 dlls/comctl32/theming.c         |    2 +-
 dlls/comdlg32/printdlg.c        |    6 +++---
 dlls/comdlg32/printdlg16.c      |    2 +-
 dlls/crypt32/crypt32_private.h  |    2 +-
 dlls/dplayx/dplay.c             |    4 ++--
 dlls/dsound/mixer.c             |    2 +-
 dlls/gdi32/region.c             |    4 ++--
 dlls/msi/appsearch.c            |    2 +-
 dlls/ole32/filemoniker.c        |    4 ++--
 dlls/ole32/ole2.c               |    2 +-
 dlls/oleaut32/tests/vartest.c   |    4 ++--
 dlls/oleaut32/typelib.c         |    2 +-
 dlls/opengl32/make_opengl       |    4 ++--
 dlls/riched20/rtf.h             |    2 +-
 dlls/usp10/tests/usp10.c        |    2 +-
 dlls/wined3d/device.c           |    2 +-
 dlls/winedos/dosaspi.c          |    2 +-
 dlls/winejack.drv/audio.c       |    4 ++--
 dlls/winex11.drv/dib.c          |    8 ++++----
 dlls/winex11.drv/dib_convert.c  |   12 ++++++------
 dlls/winex11.drv/dib_dst_swap.c |   12 ++++++------
 dlls/winex11.drv/dib_src_swap.c |   12 ++++++------
 dlls/winex11.drv/mouse.c        |    2 +-
 dlls/wininet/urlcache.c         |    2 +-
 programs/explorer/systray.c     |    2 +-
 programs/taskmgr/applpage.c     |    2 +-
 programs/taskmgr/graphctl.c     |    4 ++--
 programs/winedbg/stack.c        |    4 ++--
 tools/winedump/README           |    3 ++-
 30 files changed, 59 insertions(+), 58 deletions(-)

diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c
index 41f19b0..53fb53b 100644
--- a/dlls/comctl32/listview.c
+++ b/dlls/comctl32/listview.c
@@ -6491,7 +6491,7 @@ static BOOL LISTVIEW_RedrawItems(const LISTVIEW_INFO *infoPtr, INT nFirst, INT n
  *  be scrolled only in line increments. "dy" will be rounded to the
  *  nearest number of pixels that are a whole line. Ex: if line height
  *  is 16 and an 8 is passed, the list will be scrolled by 16. If a 7
- *  is passed the the scroll will be 0.  (per MSDN 7/2002)
+ *  is passed, then the scroll will be 0.  (per MSDN 7/2002)
  *
  *  For:  (per experimentaion with native control and CSpy ListView)
  *     LVS_ICON       dy=1 = 1 pixel  (vertical only)
diff --git a/dlls/comctl32/theming.c b/dlls/comctl32/theming.c
index e462f52..2ffbfb9 100644
--- a/dlls/comctl32/theming.c
+++ b/dlls/comctl32/theming.c
@@ -68,7 +68,7 @@ static ATOM atSubclassProp;
 /* Generate a number of subclass window procs.
  * With a single proc alone, we can't really reliably find out the superclass,
  * so have one for each subclass. The subclass number is also stored in a prop
- * since it's needed by THEMING_CallOriginalClass(). Then, the the subclass 
+ * since it's needed by THEMING_CallOriginalClass(). Then, the subclass 
  * proc and ref data are fetched and the proc called.
  */
 #define MAKE_SUBCLASS_PROC(N)                                               \
diff --git a/dlls/comdlg32/printdlg.c b/dlls/comdlg32/printdlg.c
index 490a794..90859d0 100644
--- a/dlls/comdlg32/printdlg.c
+++ b/dlls/comdlg32/printdlg.c
@@ -1987,7 +1987,7 @@ static BOOL PRINTDLG_CreateDCW(LPPRINTDLGW lppd)
 /***********************************************************************
  *           PrintDlgA   (COMDLG32.@)
  *
- *  Displays the the PRINT dialog box, which enables the user to specify
+ *  Displays the PRINT dialog box, which enables the user to specify
  *  specific properties of the print job.
  *  
  * PARAMS
@@ -3359,7 +3359,7 @@ PageDlgProcW(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
 /***********************************************************************
  *            PageSetupDlgA  (COMDLG32.@)
  *
- *  Displays the the PAGE SETUP dialog box, which enables the user to specify
+ *  Displays the PAGE SETUP dialog box, which enables the user to specify
  *  specific properties of a printed page such as
  *  size, source, orientation and the width of the page margins.
  *
@@ -3576,7 +3576,7 @@ HRESULT WINAPI PrintDlgExA(LPPRINTDLGEXA lpPrintDlgExA)
 /***********************************************************************
  *	PrintDlgExW (COMDLG32.@)
  *
- * Display the the PRINT dialog box, which enables the user to specify
+ * Displays the PRINT dialog box, which enables the user to specify
  * specific properties of the print job.  The property sheet can also have
  * additional application-specific and driver-specific property pages.
  *  
diff --git a/dlls/comdlg32/printdlg16.c b/dlls/comdlg32/printdlg16.c
index 65921f6..a4d2244 100644
--- a/dlls/comdlg32/printdlg16.c
+++ b/dlls/comdlg32/printdlg16.c
@@ -327,7 +327,7 @@ static HGLOBAL16 PRINTDLG_GetDlgTemplate16(const PRINTDLG16 *lppd)
 /***********************************************************************
  *           PrintDlg   (COMMDLG.20)
  *
- *  Displays the the PRINT dialog box, which enables the user to specify
+ *  Displays the PRINT dialog box, which enables the user to specify
  *  specific properties of the print job.
  *
  * RETURNS
diff --git a/dlls/crypt32/crypt32_private.h b/dlls/crypt32/crypt32_private.h
index 8293e82..c1009d6 100644
--- a/dlls/crypt32/crypt32_private.h
+++ b/dlls/crypt32/crypt32_private.h
@@ -275,7 +275,7 @@ const void *CRYPT_ReadSerializedElement(const BYTE *pbElement,
  */
 BOOL CRYPT_ReadSerializedStoreFromFile(HANDLE file, HCERTSTORE store);
 
-/* Fixes up the the pointers in info, where info is assumed to be a
+/* Fixes up the pointers in info, where info is assumed to be a
  * CRYPT_KEY_PROV_INFO, followed by its container name, provider name, and any
  * provider parameters, in a contiguous buffer, but where info's pointers are
  * assumed to be invalid.  Upon return, info's pointers point to the
diff --git a/dlls/dplayx/dplay.c b/dlls/dplayx/dplay.c
index 27e17c2..f421fe7 100644
--- a/dlls/dplayx/dplay.c
+++ b/dlls/dplayx/dplay.c
@@ -5281,14 +5281,14 @@ static HRESULT DirectPlayEnumerateAW(LPDPENUMDPCALLBACKA lpEnumCallbackA,
 	/* The enumeration will return FALSE if we are not to continue.
 	 *
 	 * Note: on my windows box, major / minor version is 6 / 0 for all service providers
-	 *       and have no relations to any of the two dwReserved1 and dwReserved2 keys.
+	 *       and have no relation to any of the two dwReserved1 and dwReserved2 keys.
 	 *       I think that it simply means that they are in-line with DirectX 6.0
 	 */
 	if (lpEnumCallbackA)
 	{
 	    DWORD sizeOfDescription = 0;
 	    
-	    /* Note that this the the A case of this function, so use the A variant to get the description string */
+	    /* Note that this is the A case of this function, so use the A variant to get the description string */
 	    if (RegQueryValueExA(hkServiceProvider, "DescriptionA",
 				 NULL, NULL, NULL, &sizeOfDescription) != ERROR_SUCCESS)
 	    {
diff --git a/dlls/dsound/mixer.c b/dlls/dsound/mixer.c
index daa4e97..5802f11 100644
--- a/dlls/dsound/mixer.c
+++ b/dlls/dsound/mixer.c
@@ -639,7 +639,7 @@ static DWORD DSOUND_MixInBuffer(IDirectSoundBufferImpl *dsb, DWORD writepos, DWO
  */
 static DWORD DSOUND_MixOne(IDirectSoundBufferImpl *dsb, DWORD writepos, DWORD mixlen)
 {
-	/* The buffer's primary_mixpos may be before or after the the device
+	/* The buffer's primary_mixpos may be before or after the device
 	 * buffer's mixpos, but both must be ahead of writepos. */
 	DWORD primary_done;
 
diff --git a/dlls/gdi32/region.c b/dlls/gdi32/region.c
index 3627ccb..0fe94cb 100644
--- a/dlls/gdi32/region.c
+++ b/dlls/gdi32/region.c
@@ -894,7 +894,7 @@ HRGN WINAPI CreateRoundRectRgn( INT left, INT top,
  *
  * NOTES
  *   This is a special case of CreateRoundRectRgn() where the width of the
- *   ellipse at each corner is equal to the width the the rectangle and
+ *   ellipse at each corner is equal to the width the rectangle and
  *   the same for the height.
  */
 HRGN WINAPI CreateEllipticRgn( INT left, INT top,
@@ -919,7 +919,7 @@ HRGN WINAPI CreateEllipticRgn( INT left, INT top,
  *
  * NOTES
  *   This is a special case of CreateRoundRectRgn() where the width of the
- *   ellipse at each corner is equal to the width the the rectangle and
+ *   ellipse at each corner is equal to the width the rectangle and
  *   the same for the height.
  */
 HRGN WINAPI CreateEllipticRgnIndirect( const RECT *rect )
diff --git a/dlls/msi/appsearch.c b/dlls/msi/appsearch.c
index 8db9cb9..5739275 100644
--- a/dlls/msi/appsearch.c
+++ b/dlls/msi/appsearch.c
@@ -73,7 +73,7 @@ static void ACTION_VerStrToInteger(LPCWSTR verStr, PDWORD ms, PDWORD ls)
     *ls = x3 << 16 | x4;
 }
 
-/* Fills in sig with the the values from the Signature table, where name is the
+/* Fills in sig with the values from the Signature table, where name is the
  * signature to find.  Upon return, sig->File will be NULL if the record is not
  * found, and not NULL if it is found.
  * Warning: clears all fields in sig!
diff --git a/dlls/ole32/filemoniker.c b/dlls/ole32/filemoniker.c
index 4ef7d59..cc8eae9 100644
--- a/dlls/ole32/filemoniker.c
+++ b/dlls/ole32/filemoniker.c
@@ -315,7 +315,7 @@ FileMonikerImpl_Load(IMoniker* iface, IStream* pStm)
  *
  * This function saves data of this object. In the beginning I thought
  * that I have just to write the filePath string on Stream. But, when I
- * tested this function with windows programs samples, I noticed that it
+ * tested this function with windows program samples, I noticed that it
  * was not the case. This implementation is based on XP SP2. Other versions
  * of Windows have minor variations.
  *
@@ -328,7 +328,7 @@ FileMonikerImpl_Load(IMoniker* iface, IStream* pStm)
  * 6) If we're only writing the multibyte version, 
  *     write a zero DWORD and finish.
  *
- * 7) DWORD: double-length of the the path string type W ("\0" not
+ * 7) DWORD: double-length of the path string type W ("\0" not
  *    included)
  * 8) WORD constant: 0x3
  * 9) filePath unicode string.
diff --git a/dlls/ole32/ole2.c b/dlls/ole32/ole2.c
index cc12912..f6c0d18 100644
--- a/dlls/ole32/ole2.c
+++ b/dlls/ole32/ole2.c
@@ -520,7 +520,7 @@ HRESULT WINAPI DoDragDrop (
     msg.message = 0;
 
     /*
-     * Pump messages. All mouse input should go the the capture window.
+     * Pump messages. All mouse input should go to the capture window.
      */
     while (!trackerInfo.trackingDone && GetMessageA(&msg, 0, 0, 0) )
     {
diff --git a/dlls/oleaut32/tests/vartest.c b/dlls/oleaut32/tests/vartest.c
index b409dd4..fd95361 100644
--- a/dlls/oleaut32/tests/vartest.c
+++ b/dlls/oleaut32/tests/vartest.c
@@ -3142,7 +3142,7 @@ static void test_VarRound(void)
     VARROUND(DATE,1.451,1,DATE,1.5);
     VARROUND(DATE,-1.45,1,DATE,-1.4);
 
-    /* replace the decimal seperator */
+    /* replace the decimal separator */
     GetLocaleInfoA(LOCALE_USER_DEFAULT, LOCALE_SDECIMAL, buff, sizeof(buff)/sizeof(char));
     if (!buff[1]) {
         szNumMin[2] = buff[0];
@@ -7889,7 +7889,7 @@ static void test_VarImp(void)
                 BOOL bFail = FALSE;
                 SKIPTESTIMP(rightvt);
 
-                /* Native crashes using the the extra flag VT_BYREF
+                /* Native crashes when using the extra flag VT_BYREF
                  * or with the following VT combinations
                  */
                 if ((leftvt == VT_UI4 && rightvt == VT_BSTR) ||
diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c
index 16e5a6f..62fe557 100644
--- a/dlls/oleaut32/typelib.c
+++ b/dlls/oleaut32/typelib.c
@@ -3076,7 +3076,7 @@ static void SLTG_DoFuncs(char *pBlk, char *pFirstItem, ITypeInfoImpl *pTI,
 	       pointing at an alpha-numeric char.  However if *pArg is
 	       0xffff or 0xfffe then the param has no name, the former
 	       meaning that the next WORD is the type, the latter
-	       meaning the the next WORD is an offset to the type. */
+	       meaning that the next WORD is an offset to the type. */
 
 	    HaveOffs = FALSE;
 	    if(*pArg == 0xffff)
diff --git a/dlls/opengl32/make_opengl b/dlls/opengl32/make_opengl
index 276fe81..f473cf7 100755
--- a/dlls/opengl32/make_opengl
+++ b/dlls/opengl32/make_opengl
@@ -309,8 +309,8 @@ if ($version eq "1.0") {
 #
 # Open the registry files
 #
-open(TYPES,    "$registry_path/gl.tm")   || die "Could not open 'gl.tm'. Please check your path the the registry files.\n";
-open(REGISTRY, "$registry_path/gl.spec") || die "Could not open 'gl.spec'. Please check your path the the registry files.\n";
+open(TYPES,    "$registry_path/gl.tm")   || die "Could not open 'gl.tm'. Please check your path in the registry files.\n";
+open(REGISTRY, "$registry_path/gl.spec") || die "Could not open 'gl.spec'. Please check your path in the registry files.\n";
 
 #
 # First, create a mapping between the pseudo types used in the spec file
diff --git a/dlls/riched20/rtf.h b/dlls/riched20/rtf.h
index 30d40f0..7234b43 100644
--- a/dlls/riched20/rtf.h
+++ b/dlls/riched20/rtf.h
@@ -961,7 +961,7 @@ struct RTFFont
 
 
 /*
- * Color values are -1 if the default color for the the color
+ * Color values are -1 if the default color for the color
  * number should be used.  The default color is writer-dependent.
  */
 
diff --git a/dlls/usp10/tests/usp10.c b/dlls/usp10/tests/usp10.c
index 54d826f..ca2f5b6 100644
--- a/dlls/usp10/tests/usp10.c
+++ b/dlls/usp10/tests/usp10.c
@@ -791,7 +791,7 @@ static void test_ScriptStringXtoCP_CPtoX(HDC hdc)
                                   iTrailing, X);
 
         /*
-         * Cleanup the the SSA for the next round of tests
+         * Cleanup the SSA for the next round of tests
          */
         hr = ScriptStringFree(&ssa);
         ok(hr == S_OK, "ScriptStringFree should return S_OK not %08x\n", hr);
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index ac611a5..7b41c70 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -4365,7 +4365,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetTexture(IWineD3DDevice *iface, DWORD
     }
 
     /** NOTE: MSDN says that setTexture increases the reference count,
-    * and the the application must set the texture back to null (or have a leaky application),
+    * and that the application must set the texture back to null (or have a leaky application),
     * This means we should pass the refcount up to the parent
      *******************************/
     if (NULL != This->updateStateBlock->textures[Stage]) {
diff --git a/dlls/winedos/dosaspi.c b/dlls/winedos/dosaspi.c
index 019cf07..28089a3 100644
--- a/dlls/winedos/dosaspi.c
+++ b/dlls/winedos/dosaspi.c
@@ -90,7 +90,7 @@ DOSASPI_PostProc( SRB_ExecSCSICmd *lpPRB )
 		ctx.Eip   = OFFSETOF(lpSRB16->cmd.SRB_PostProc);
 		/* DPMI_CallRMProc will push the pointer to the stack
 		 * it is given (in this case &ptrSRB) with length
-		 * 2*sizeof(WORD), that is, it copies the the contents
+		 * 2*sizeof(WORD), that is, it copies the contents
 		 * of ptrSRB onto the stack, and decs sp by 2*sizeof(WORD).
 		 * After doing that, it pushes the return address
 		 * onto the stack (so we don't need to worry about that)
diff --git a/dlls/winejack.drv/audio.c b/dlls/winejack.drv/audio.c
index c266dd6..bf084df 100644
--- a/dlls/winejack.drv/audio.c
+++ b/dlls/winejack.drv/audio.c
@@ -489,7 +489,7 @@ int JACK_callback_wwo (nframes_t nframes, void *arg)
 /******************************************************************
  *		JACK_bufsize_wwo
  *
- *		Called whenever the jack server changes the the max number 
+ *		Called whenever the jack server changes the max number 
  *		of frames passed to JACK_callback
  */
 int JACK_bufsize_wwo (nframes_t nframes, void *arg)
@@ -537,7 +537,7 @@ int JACK_bufsize_wwo (nframes_t nframes, void *arg)
 /******************************************************************
  *		JACK_bufsize_wwi
  *
- *		Called whenever the jack server changes the the max number 
+ *		Called whenever the jack server changes the max number 
  *		of frames passed to JACK_callback
  */
 int JACK_bufsize_wwi (nframes_t nframes, void *arg)
diff --git a/dlls/winex11.drv/dib.c b/dlls/winex11.drv/dib.c
index e24bd96..e103381 100644
--- a/dlls/winex11.drv/dib.c
+++ b/dlls/winex11.drv/dib.c
@@ -1190,7 +1190,7 @@ static void X11DRV_DIB_GetImageBits_4( int lines, BYTE *dstbits,
                         srcbyte+=6;
                     }
                     if (width&1) {
-                        /* And the the odd pixel */
+                        /* And then the odd pixel */
                         *dstbyte++=(X11DRV_DIB_GetNearestIndex
                                     (colors, 16,
                                      srcbyte[2],
@@ -1220,7 +1220,7 @@ static void X11DRV_DIB_GetImageBits_4( int lines, BYTE *dstbits,
                         srcbyte+=6;
                     }
                     if (width&1) {
-                        /* And the the odd pixel */
+                        /* And then the odd pixel */
                         *dstbyte++=(X11DRV_DIB_GetNearestIndex
                                     (colors, 16,
                                      srcbyte[0],
@@ -1266,7 +1266,7 @@ static void X11DRV_DIB_GetImageBits_4( int lines, BYTE *dstbits,
                         srcbyte+=8;
                     }
                     if (width&1) {
-                        /* And the the odd pixel */
+                        /* And then the odd pixel */
                         *dstbyte++=(X11DRV_DIB_GetNearestIndex
                                     (colors, 16,
                                      srcbyte[2],
@@ -1296,7 +1296,7 @@ static void X11DRV_DIB_GetImageBits_4( int lines, BYTE *dstbits,
                         srcbyte+=8;
                     }
                     if (width&1) {
-                        /* And the the odd pixel */
+                        /* And then the odd pixel */
                         *dstbyte++=(X11DRV_DIB_GetNearestIndex
                                     (colors, 16,
                                      srcbyte[0],
diff --git a/dlls/winex11.drv/dib_convert.c b/dlls/winex11.drv/dib_convert.c
index 5d90f68..c34e16c 100644
--- a/dlls/winex11.drv/dib_convert.c
+++ b/dlls/winex11.drv/dib_convert.c
@@ -111,7 +111,7 @@ static void convert_555_reverse(int width, int height,
                         ((srcval >> 10) & 0x001f001f);  /* l */
         }
         if (width&1) {
-            /* And the the odd pixel */
+            /* And then the odd pixel */
             WORD srcval;
             srcval=*((const WORD*)srcpixel);
             *((WORD*)dstpixel)=((srcval << 10) & 0x7c00) | /* h */
@@ -143,7 +143,7 @@ static void convert_555_to_565_asis(int width, int height,
                         ( srcval       & 0x001f001f);  /* l */
         }
         if (width&1) {
-            /* And the the odd pixel */
+            /* And then the odd pixel */
             WORD srcval;
             srcval=*((const WORD*)srcpixel);
             *((WORD*)dstpixel)=((srcval << 1) & 0xffc0) | /* h, g */
@@ -176,7 +176,7 @@ static void convert_555_to_565_reverse(int width, int height,
                         ((srcval << 11) & 0xf800f800);  /* l */
         }
         if (width&1) {
-            /* And the the odd pixel */
+            /* And then the odd pixel */
             WORD srcval;
             srcval=*((const WORD*)srcpixel);
             *((WORD*)dstpixel)=((srcval >> 10) & 0x001f) | /* h */
@@ -380,7 +380,7 @@ static void convert_565_reverse(int width, int height,
                         ((srcval >> 11) & 0x001f001f);  /* l */
         }
         if (width&1) {
-            /* And the the odd pixel */
+            /* And then the odd pixel */
             WORD srcval;
             srcval=*((const WORD*)srcpixel);
             *((WORD*)dstpixel)=((srcval << 11) & 0xf800) | /* h */
@@ -411,7 +411,7 @@ static void convert_565_to_555_asis(int width, int height,
                         ( srcval       & 0x001f001f);  /* l */
         }
         if (width&1) {
-            /* And the the odd pixel */
+            /* And then the odd pixel */
             WORD srcval;
             srcval=*((const WORD*)srcpixel);
             *((WORD*)dstpixel)=((srcval >> 1) & 0x7fe0) | /* h, g */
@@ -442,7 +442,7 @@ static void convert_565_to_555_reverse(int width, int height,
                         ((srcval << 10) & 0x7c007c00);  /* l */
         }
         if (width&1) {
-            /* And the the odd pixel */
+            /* And then the odd pixel */
             WORD srcval;
             srcval=*((const WORD*)srcpixel);
             *((WORD*)dstpixel)=((srcval >> 11) & 0x001f) | /* h */
diff --git a/dlls/winex11.drv/dib_dst_swap.c b/dlls/winex11.drv/dib_dst_swap.c
index 9a66bf4..66b77e6 100644
--- a/dlls/winex11.drv/dib_dst_swap.c
+++ b/dlls/winex11.drv/dib_dst_swap.c
@@ -94,7 +94,7 @@ static void convert_555_reverse_dst_byteswap(int width, int height,
                         ((srcval <<  2) & 0x007c007c);  /* l */
         }
         if (width&1) {
-            /* And the the odd pixel */
+            /* And then the odd pixel */
             WORD srcval;
             srcval=*((const WORD*)srcpixel);
             *((WORD*)dstpixel)=((srcval >>  2) & 0x1f00) | /* h */
@@ -128,7 +128,7 @@ static void convert_555_to_565_asis_dst_byteswap(int width, int height,
                         ((srcval << 8) & 0x1f001f00);  /* l */
         }
         if (width&1) {
-            /* And the the odd pixel */
+            /* And then the odd pixel */
             WORD srcval;
             srcval=*((const WORD*)srcpixel);
             *((WORD*)dstpixel)=((srcval >> 7) & 0x00ff) | /* h, g - 3 bits */
@@ -163,7 +163,7 @@ static void convert_555_to_565_reverse_dst_byteswap(int width, int height,
                         ((srcval <<  3) & 0x00f800f8);  /* l */
         }
         if (width&1) {
-            /* And the the odd pixel */
+            /* And then the odd pixel */
             WORD srcval;
             srcval=*((const WORD*)srcpixel);
             *((WORD*)dstpixel)=((srcval >>  2) & 0x1f00) | /* h */
@@ -441,7 +441,7 @@ static void convert_565_reverse_dst_byteswap(int width, int height,
                         ((srcval <<  3) & 0x00f800f8);  /* l */
         }
         if (width&1) {
-            /* And the the odd pixel */
+            /* And then the odd pixel */
             WORD srcval;
             srcval=*((const WORD*)srcpixel);
             *((WORD*)dstpixel)=((srcval >>  3) & 0x1f00) | /* h */
@@ -474,7 +474,7 @@ static void convert_565_to_555_asis_dst_byteswap(int width, int height,
                         ((srcval >>  9) & 0x007f007f);  /* h, g - 2 bits */
         }
         if (width&1) {
-            /* And the the odd pixel */
+            /* And then the odd pixel */
             WORD srcval;
             srcval=*((const WORD*)srcpixel);
             *((WORD*)dstpixel)=((srcval <<  7) & 0xe000) | /* g - 3 bits*/
@@ -507,7 +507,7 @@ static void convert_565_to_555_reverse_dst_byteswap(int width, int height,
                         ((srcval >>  9) & 0x00030003);  /* g - 2 bits */
         }
         if (width&1) {
-            /* And the the odd pixel */
+            /* And then the odd pixel */
             WORD srcval;
             srcval=*((const WORD*)srcpixel);
             *((WORD*)dstpixel)=((srcval <<  7) & 0xe000) | /* g - 3 bits */
diff --git a/dlls/winex11.drv/dib_src_swap.c b/dlls/winex11.drv/dib_src_swap.c
index d6e3458..65deed7 100644
--- a/dlls/winex11.drv/dib_src_swap.c
+++ b/dlls/winex11.drv/dib_src_swap.c
@@ -96,7 +96,7 @@ static void convert_555_reverse_src_byteswap(int width, int height,
                         ((srcval <<  2) & 0x7c007c00);  /* l */
         }
         if (width&1) {
-            /* And the the odd pixel */
+            /* And then the odd pixel */
             WORD srcval;
             srcval=*((const WORD*)srcpixel);
             *((WORD*)dstpixel)=((srcval >>  2) & 0x001f) | /* h */
@@ -130,7 +130,7 @@ static void convert_555_to_565_asis_src_byteswap(int width, int height,
                         ((srcval >> 8) & 0x001f001f);  /* l */
         }
         if (width&1) {
-            /* And the the odd pixel */
+            /* And then the odd pixel */
             WORD srcval;
             srcval=*((const WORD*)srcpixel);
             *((WORD*)dstpixel)=((srcval << 9) & 0xfe00) | /* h, g - 2bits*/
@@ -165,7 +165,7 @@ static void convert_555_to_565_reverse_src_byteswap(int width, int height,
                          ((srcval <<  3) & 0xf800f800);  /* l */
         }
         if (width&1) {
-            /* And the the odd pixel */
+            /* And then the odd pixel */
             WORD srcval;
             srcval=*((const WORD*)srcpixel);
             *((WORD*)dstpixel)=((srcval >>  2) & 0x001f) | /* h */
@@ -381,7 +381,7 @@ static void convert_565_reverse_src_byteswap(int width, int height,
                         ((srcval >>  3) & 0x001f001f);  /* h */
         }
         if (width&1) {
-            /* And the the odd pixel */
+            /* And then the odd pixel */
             WORD srcval;
             srcval=*((const WORD*)srcpixel);
             *((WORD*)dstpixel)=((srcval <<  3) & 0xf800) | /* l */
@@ -414,7 +414,7 @@ static void convert_565_to_555_asis_src_byteswap(int width, int height,
                         ((srcval >> 8) & 0x001f001f);  /* l */
         }
         if (width&1) {
-            /* And the the odd pixel */
+            /* And then the odd pixel */
             WORD srcval;
             srcval=*((const WORD*)srcpixel);
             *((WORD*)dstpixel)=((srcval << 7) & 0x7f80) | /* h, g - 3 bits */
@@ -447,7 +447,7 @@ static void convert_565_to_555_reverse_src_byteswap(int width, int height,
                         ((srcval <<  2) & 0x7c007c00);  /* l */
         }
         if (width&1) {
-            /* And the the odd pixel */
+            /* And then the odd pixel */
             WORD srcval;
             srcval=*((const WORD*)srcpixel);
             *((WORD*)dstpixel)=((srcval >>  3) & 0x001f) | /* h */
diff --git a/dlls/winex11.drv/mouse.c b/dlls/winex11.drv/mouse.c
index 6624c56..b175c6b 100644
--- a/dlls/winex11.drv/mouse.c
+++ b/dlls/winex11.drv/mouse.c
@@ -436,7 +436,7 @@ static XcursorImage *create_cursor_image( CURSORICONINFO *ptr )
      * background color.
      *
      * Since we can't support inverting colors, we map the grayscale value of
-     * the "xor" data to the alpha channel, and xor the the color with either
+     * the "xor" data to the alpha channel, and xor the color with either
      * black or white.
      */
     for (y = 0; y < ymax; ++y)
diff --git a/dlls/wininet/urlcache.c b/dlls/wininet/urlcache.c
index 9887994..8c071f2 100644
--- a/dlls/wininet/urlcache.c
+++ b/dlls/wininet/urlcache.c
@@ -1002,7 +1002,7 @@ static BOOL URLCache_CopyEntry(
  *           URLCache_SetEntryInfo (Internal)
  *
  *  Helper for SetUrlCacheEntryInfo{A,W}. Sets fields in URL entry
- * according the the flags set by dwFieldControl.
+ * according to the flags set by dwFieldControl.
  *
  * RETURNS
  *    TRUE if the buffer was big enough
diff --git a/programs/explorer/systray.c b/programs/explorer/systray.c
index 1814bce..ca8a34b 100644
--- a/programs/explorer/systray.c
+++ b/programs/explorer/systray.c
@@ -402,7 +402,7 @@ static BOOL is_systray_hidden(void)
     return ret;
 }
 
-/* this function creates the the listener window */
+/* this function creates the listener window */
 void initialize_systray(void)
 {
     WNDCLASSEX class;
diff --git a/programs/taskmgr/applpage.c b/programs/taskmgr/applpage.c
index 77928bd..038657e 100644
--- a/programs/taskmgr/applpage.c
+++ b/programs/taskmgr/applpage.c
@@ -70,7 +70,7 @@ static void ApplicationPageUpdate(void)
         EnableWindow(hApplicationPageSwitchToButton, FALSE);
     }
 
-    /* If we are on the applications tab the the windows menu will */
+    /* If we are on the applications tab, then the windows menu will */
     /* be present on the menu bar so enable & disable the menu items */
     if (TabCtrl_GetCurSel(hTabWnd) == 0)
     {
diff --git a/programs/taskmgr/graphctl.c b/programs/taskmgr/graphctl.c
index e255487..a914595 100644
--- a/programs/taskmgr/graphctl.c
+++ b/programs/taskmgr/graphctl.c
@@ -323,8 +323,8 @@ void GraphCtrl_InvalidateCtrl(TGraphCtrl* this)
             (m_rectPlot.bottom+m_rectPlot.top)/2, m_strYUnitsString, _tcslen(m_strYUnitsString));
     SelectObject(m_dcGrid, oldFont);
 #endif
-    /*  at this point we are done filling the the grid bitmap,  */
-    /*  no more drawing to this bitmap is needed until the setting are changed */
+    /*  at this point we are done filling the grid bitmap,  */
+    /*  no more drawing to this bitmap is needed until the settings are changed */
   
     /*  if we don't have one yet, set up a memory dc for the plot */
     if (this->m_dcPlot == NULL) 
diff --git a/programs/winedbg/stack.c b/programs/winedbg/stack.c
index 86f682f..a416c8b 100644
--- a/programs/winedbg/stack.c
+++ b/programs/winedbg/stack.c
@@ -161,7 +161,7 @@ static BOOL CALLBACK stack_read_mem(HANDLE hProc, DWORD64 addr,
 /******************************************************************
  *		stack_fetch_frames
  *
- * Do a backtrace on the the current thread
+ * Do a backtrace on the current thread
  */
 unsigned stack_fetch_frames(void)
 {
@@ -275,7 +275,7 @@ static void stack_print_addr_and_args(int nf)
 /******************************************************************
  *		backtrace
  *
- * Do a backtrace on the the current thread
+ * Do a backtrace on the current thread
  */
 static void backtrace(void)
 {
diff --git a/tools/winedump/README b/tools/winedump/README
index 28ec230..b1ef087 100644
--- a/tools/winedump/README
+++ b/tools/winedump/README
@@ -52,7 +52,8 @@ dump other information from PE files; See the section 'Dumping' below.
 Usage
 -----
 Winedump is a command line tool. For the list of options and the basic usage
-see the the winedump(1) man page.
+see the winedump(1) man page.
+
 
 Spec mode: Generating stub DLLs
 -------------------------------
-- 
1.5.3.4




More information about the wine-patches mailing list