Assorted spelling fixes.

Francois Gouget fgouget at free.fr
Thu Oct 12 19:19:42 CDT 2006


---
 dlls/d3d8/pixelshader.c    |    2 +-
 dlls/d3d8/vertexshader.c   |    2 +-
 dlls/d3d9/pixelshader.c    |    2 +-
 dlls/d3d9/vertexshader.c   |    2 +-
 dlls/imagehlp/integrity.c  |    2 +-
 dlls/msi/action.c          |    2 +-
 dlls/shlwapi/reg.c         |    4 ++--
 dlls/shlwapi/string.c      |    4 ++--
 dlls/shlwapi/url.c         |    2 +-
 dlls/usp10/usp10.c         |   10 +++++-----
 dlls/wined3d/cubetexture.c |    2 +-
 dlls/wined3d/device.c      |   14 +++++++-------
 dlls/wined3d/texture.c     |    2 +-
 dlls/winex11.drv/dib.c     |    2 +-
 tools/widl/write_msft.c    |    2 +-
 15 files changed, 27 insertions(+), 27 deletions(-)

diff --git a/dlls/d3d8/pixelshader.c b/dlls/d3d8/pixelshader.c
index 0715e11..3ad39e6 100644
--- a/dlls/d3d8/pixelshader.c
+++ b/dlls/d3d8/pixelshader.c
@@ -72,7 +72,7 @@ static HRESULT WINAPI IDirect3DPixelShad
     IWineD3DPixelShader_GetDevice(This->wineD3DPixelShader, &myDevice);
     IWineD3DDevice_GetParent(myDevice, (IUnknown **)ppDevice);
     IWineD3DDevice_Release(myDevice);
-    TRACE("(%p) returing (%p)\n", This, *ppDevice);
+    TRACE("(%p) returning (%p)\n", This, *ppDevice);
     return D3D_OK;
 }
 
diff --git a/dlls/d3d8/vertexshader.c b/dlls/d3d8/vertexshader.c
index bb1757e..2f22e31 100644
--- a/dlls/d3d8/vertexshader.c
+++ b/dlls/d3d8/vertexshader.c
@@ -75,7 +75,7 @@ static HRESULT WINAPI IDirect3DVertexSha
     } else {
         *ppDevice = NULL;
     }
-    TRACE("(%p) returing (%p)\n", This, *ppDevice);
+    TRACE("(%p) returning (%p)\n", This, *ppDevice);
     return hr;
 }
 
diff --git a/dlls/d3d9/pixelshader.c b/dlls/d3d9/pixelshader.c
index c20cb6c..a6a635e 100644
--- a/dlls/d3d9/pixelshader.c
+++ b/dlls/d3d9/pixelshader.c
@@ -73,7 +73,7 @@ static HRESULT WINAPI IDirect3DPixelShad
     IWineD3DPixelShader_GetDevice(This->wineD3DPixelShader, &myDevice);
     IWineD3DDevice_GetParent(myDevice, (IUnknown **)ppDevice);
     IWineD3DDevice_Release(myDevice);
-    TRACE("(%p) returing (%p)\n", This, *ppDevice);
+    TRACE("(%p) returning (%p)\n", This, *ppDevice);
     return D3D_OK;
 }
 
diff --git a/dlls/d3d9/vertexshader.c b/dlls/d3d9/vertexshader.c
index aad04ac..d66c12c 100644
--- a/dlls/d3d9/vertexshader.c
+++ b/dlls/d3d9/vertexshader.c
@@ -76,7 +76,7 @@ static HRESULT WINAPI IDirect3DVertexSha
     } else {
         *ppDevice = NULL;
     }
-    TRACE("(%p) returing (%p)\n", This, *ppDevice);
+    TRACE("(%p) returning (%p)\n", This, *ppDevice);
     return hr;
 }
 
diff --git a/dlls/imagehlp/integrity.c b/dlls/imagehlp/integrity.c
index 25720e6..b3b8e66 100644
--- a/dlls/imagehlp/integrity.c
+++ b/dlls/imagehlp/integrity.c
@@ -171,7 +171,7 @@ BOOL WINAPI ImageEnumerateCertificates(
 
     if( Indices )
     {
-        FIXME("Indicies not handled!\n");
+        FIXME("Indices not handled!\n");
         return FALSE;
     }
 
diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index ab2bf03..a7db050 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -1693,7 +1693,7 @@ UINT MSI_SetFeatureStates(MSIPACKAGE *pa
 
     install_level = msi_get_property_int( package, szlevel, 1 );
 
-    /* ok hereis the _real_ rub
+    /* ok here is the _real_ rub
      * all these activation/deactivation things happen in order and things
      * later on the list override things earlier on the list.
      * 1) INSTALLLEVEL processing
diff --git a/dlls/shlwapi/reg.c b/dlls/shlwapi/reg.c
index 32bb7d6..331f84a 100644
--- a/dlls/shlwapi/reg.c
+++ b/dlls/shlwapi/reg.c
@@ -661,7 +661,7 @@ BOOL WINAPI SHRegGetBoolUSValueA(
 		FIXME("Unsupported registry data type %d\n", type);
 		ret = FALSE;
 	    }
-	    TRACE("got value (type=%d), returing <%s>\n", type,
+	    TRACE("got value (type=%d), returning <%s>\n", type,
 		  (ret) ? "TRUE" : "FALSE");
 	}
 	else {
@@ -722,7 +722,7 @@ BOOL WINAPI SHRegGetBoolUSValueW(
 		FIXME("Unsupported registry data type %d\n", type);
 		ret = FALSE;
 	    }
-	    TRACE("got value (type=%d), returing <%s>\n", type,
+	    TRACE("got value (type=%d), returning <%s>\n", type,
 		  (ret) ? "TRUE" : "FALSE");
 	}
 	else {
diff --git a/dlls/shlwapi/string.c b/dlls/shlwapi/string.c
index f610a1e..b8a046d 100644
--- a/dlls/shlwapi/string.c
+++ b/dlls/shlwapi/string.c
@@ -2807,7 +2807,7 @@ HRESULT WINAPI SHLoadIndirectString(LPCW
                 hr = S_OK;
         }
         else
-            FIXME("can't handle non-negative indicies (%d)\n", index);
+            FIXME("can't handle non-negative indices (%d)\n", index);
     }
     else
     {
@@ -2816,7 +2816,7 @@ HRESULT WINAPI SHLoadIndirectString(LPCW
         hr = S_OK;
     }
 
-    TRACE("returing %s\n", debugstr_w(dst));
+    TRACE("returning %s\n", debugstr_w(dst));
 end:
     if(hmod) FreeLibrary(hmod);
     HeapFree(GetProcessHeap(), 0, dllname);
diff --git a/dlls/shlwapi/url.c b/dlls/shlwapi/url.c
index e1c653e..40dba62 100644
--- a/dlls/shlwapi/url.c
+++ b/dlls/shlwapi/url.c
@@ -1634,7 +1634,7 @@ HRESULT WINAPI UrlApplySchemeW(LPCWSTR p
 	    }
 	    strcpyW(pszOut, pszIn);
 	    *pcchOut = strlenW(pszOut);
-	    TRACE("valid scheme, returing copy\n");
+	    TRACE("valid scheme, returning copy\n");
 	    return S_OK;
 	}
     }
diff --git a/dlls/usp10/usp10.c b/dlls/usp10/usp10.c
index 8bcd38b..6a52933 100644
--- a/dlls/usp10/usp10.c
+++ b/dlls/usp10/usp10.c
@@ -397,8 +397,8 @@ #define Script_Numeric 5
         }
     }
 
-    /* While not strickly necessary according to the spec, make sure the n+1
-     * item is set up to prevent random behaviour if the caller eroneously
+    /* While not strictly necessary according to the spec, make sure the n+1
+     * item is set up to prevent random behaviour if the caller erroneously
      * checks the n+1 structure                                              */
     pItems[index+1].a.eScript = 0;
     pItems[index+1].a.fRTL = 0;
@@ -891,7 +891,7 @@ HRESULT WINAPI ScriptPlace(HDC hdc, SCRI
 
     /*  We need a valid hdc to do any of the font calls.  The spec says that hdc is optional and 
      *  psc will be used first.  If psc and hdc are not specified E_PENDING is returned to get 
-     *  the caller to return the hdc.  For convience, the hdc is cached in SCRIPT_CACHE.    */
+     *  the caller to return the hdc.  For convenience, the hdc is cached in SCRIPT_CACHE.    */
 
     if  (!hdc && !*psc) {
         TRACE("No Script_Cache (psc) and no hdc. Ask for one. Hdc=%p, psc=%p\n", hdc, *psc);
@@ -909,7 +909,7 @@ HRESULT WINAPI ScriptPlace(HDC hdc, SCRI
             }
 
     /*   Here we need to calculate the width of the run unit.  At this point the input string
-     *   has been converted to glyphs and we till need to translate back to the original chars
+     *   has been converted to glyphs and we still need to translate back to the original chars
      *   to get the correct ABC widths.   */
 
      lpABC = HeapAlloc(GetProcessHeap(), 0 , sizeof(ABC)*cGlyphs);
@@ -1026,7 +1026,7 @@ HRESULT WINAPI ScriptTextOut(const HDC h
 
     fuOptions &= ETO_CLIPPED + ETO_OPAQUE;
     if  (!psa->fNoGlyphIndex)                                     /* Have Glyphs?                      */
-        fuOptions |= ETO_GLYPH_INDEX;                             /* Say don't do tranlastion to glyph */
+        fuOptions |= ETO_GLYPH_INDEX;                             /* Say don't do translation to glyph */
 
     hr = ExtTextOutW(phdc, x, y, fuOptions, lprc, pwGlyphs, cGlyphs, NULL);
 
diff --git a/dlls/wined3d/cubetexture.c b/dlls/wined3d/cubetexture.c
index 61c2480..ea76d12 100644
--- a/dlls/wined3d/cubetexture.c
+++ b/dlls/wined3d/cubetexture.c
@@ -83,7 +83,7 @@ static ULONG WINAPI IWineD3DCubeTextureI
                 if (This->surfaces[j][i] != NULL) {
                     /* Because the surfaces were created using a callback we need to release there parent otehrwise we leave the parent hanging */
                     IUnknown* surfaceParent;
-                    /* Clean out the texture name we gave to the suface so that the surface doesn't try and release it */
+                    /* Clean out the texture name we gave to the surface so that the surface doesn't try and release it */
                     IWineD3DSurface_SetGlTextureDesc(This->surfaces[j][i], 0, 0);
                     /* Cleanup the container */
                     IWineD3DSurface_SetContainer(This->surfaces[j][i], 0);
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 83e9a83..de2e00f 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -1064,14 +1064,14 @@ static HRESULT  WINAPI IWineD3DDeviceImp
 
     TRACE("Pool %d %d %d %d\n",Pool, WINED3DPOOL_DEFAULT, WINED3DPOOL_MANAGED, WINED3DPOOL_SYSTEMMEM);
 
-    /** Quick lockable sanity check TODO: remove this after surfaces, usage and locablility have been debugged properly
-    * this function is too deap to need to care about things like this.
-    * Levels need to be checked too, and possibly Type wince they all affect what can be done.
+    /** Quick lockable sanity check TODO: remove this after surfaces, usage and lockability have been debugged properly
+    * this function is too deep to need to care about things like this.
+    * Levels need to be checked too, and possibly Type since they all affect what can be done.
     * ****************************************/
     switch(Pool) {
     case WINED3DPOOL_SCRATCH:
         if(!Lockable)
-            FIXME("Create suface called with a pool of SCRATCH and a Lockable of FALSE \
+            FIXME("Create surface called with a pool of SCRATCH and a Lockable of FALSE \
                 which are mutually exclusive, setting lockable to true\n");
                 Lockable = TRUE;
     break;
@@ -1097,7 +1097,7 @@ static HRESULT  WINAPI IWineD3DDeviceImp
         FIXME("Trying to create a render target that isn't in the default pool\n");
     }
 
-    /* mark the texture as dirty so that it get's loaded first time around*/
+    /* mark the texture as dirty so that it gets loaded first time around*/
     IWineD3DSurface_AddDirtyRect(*ppSurface, NULL);
     TRACE("(%p) : w(%d) h(%d) fmt(%d,%s) lockable(%d) surf@%p, surfmem@%p, %d bytes\n",
            This, Width, Height, Format, debug_d3dformat(Format),
@@ -1277,7 +1277,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl
         D3DCB_CreateVolume(This->parent, Width, Height, Depth, Format, Pool, Usage,
                            (IWineD3DVolume **)&object->volumes[i], pSharedHandle);
 
-        /* Set it's container to this object */
+        /* Set its container to this object */
         IWineD3DVolume_SetContainer(object->volumes[i], (IWineD3DBase *)object);
 
         /* calcualte the next mipmap level */
@@ -1592,7 +1592,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl
             glXGetConfig(object->display, object->visInfo, GLX_STENCIL_SIZE, &value);
             TRACE("   gl_stencil_size : %d\n",  value);
         }
-        /* Now choose a simila visual ID*/
+        /* Now choose a similar visual ID*/
     }
 #ifdef USE_CONTEXT_MANAGER
 
diff --git a/dlls/wined3d/texture.c b/dlls/wined3d/texture.c
index d83a9a4..3f2c4b9 100644
--- a/dlls/wined3d/texture.c
+++ b/dlls/wined3d/texture.c
@@ -65,7 +65,7 @@ static ULONG WINAPI IWineD3DTextureImpl_
             if (This->surfaces[i] != NULL) {
                 /* Because the surfaces were created using a callback we need to release there parent otehrwise we leave the parent hanging */
                 IUnknown* surfaceParent;
-                /* Clean out the texture name we gave to the suface so that the surface doesn't try and release it */
+                /* Clean out the texture name we gave to the surface so that the surface doesn't try and release it */
                 IWineD3DSurface_SetGlTextureDesc(This->surfaces[i], 0, 0);
                 /* Cleanup the container */
                 IWineD3DSurface_SetContainer(This->surfaces[i], 0);
diff --git a/dlls/winex11.drv/dib.c b/dlls/winex11.drv/dib.c
index 8dcb6a1..77fa03c 100644
--- a/dlls/winex11.drv/dib.c
+++ b/dlls/winex11.drv/dib.c
@@ -406,7 +406,7 @@ static int *X11DRV_DIB_BuildColorMap( X1
  *           X11DRV_DIB_BuildColorTable
  *
  * Build the dib color table. This either keeps a copy of the bmiColors array if
- * usage is DIB_RGB_COLORS, or looks up the palette indicies if usage is
+ * usage is DIB_RGB_COLORS, or looks up the palette indices if usage is
  * DIB_PAL_COLORS.
  * Should not be called for a >8-bit deep bitmap.
  */
diff --git a/tools/widl/write_msft.c b/tools/widl/write_msft.c
index ad1b584..a624e6d 100644
--- a/tools/widl/write_msft.c
+++ b/tools/widl/write_msft.c
@@ -1914,7 +1914,7 @@ static void add_dispinterface_typeinfo(m
     add_dispatch(typelib);
     msft_typeinfo->typeinfo->cImplTypes = 1;
 
-    /* count the no of funcs, as the variable indicies come after the funcs */
+    /* count the no of funcs, as the variable indices come after the funcs */
     if((func = dispinterface->funcs)) {
         idx++;
         while(NEXT_LINK(func)) {
-- 
1.4.1.1




More information about the wine-patches mailing list