Assorted spelling fixes

Francois Gouget fgouget at free.fr
Thu Jun 15 10:38:04 CDT 2006


Changelog:

  * dlls/comctl32/tests/header.c
    dlls/d3d9/tests/device.c
    dlls/riched20/editor.c
    dlls/wined3d/device.c
    dlls/wined3d/directx.c
    dlls/wined3d/glsl_shader.c
    server/token.c

    Francois Gouget <fgouget at free.fr>
    Assorted spelling fixes.

-- 
Francois Gouget <fgouget at free.fr>              http://fgouget.free.fr/
                  There are 10 types of people in the world...
                those who understand binary and those who don't.
-------------- next part --------------
Index: dlls/comctl32/tests/header.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/tests/header.c,v
retrieving revision 1.8
diff -u -p -r1.8 header.c
--- dlls/comctl32/tests/header.c	28 May 2006 16:34:41 -0000	1.8
+++ dlls/comctl32/tests/header.c	15 Jun 2006 08:35:25 -0000
@@ -225,7 +225,7 @@ static void check_auto_format(void)
 
     /* Windows implicitly sets some format bits in INSERTITEM */
 
-    /* HDF_STRING is automaticaly set and cleared for no text */
+    /* HDF_STRING is automatically set and cleared for no text */
     hdiCreate.mask = HDI_TEXT|HDI_WIDTH|HDI_FORMAT;
     hdiCreate.pszText = text;
     hdiCreate.cxy = 100;
Index: dlls/d3d9/tests/device.c
===================================================================
RCS file: /home/wine/wine/dlls/d3d9/tests/device.c,v
retrieving revision 1.7
diff -u -p -r1.7 device.c
--- dlls/d3d9/tests/device.c	12 Jun 2006 12:12:13 -0000	1.7
+++ dlls/d3d9/tests/device.c	15 Jun 2006 08:35:25 -0000
@@ -152,7 +152,7 @@ static void test_swapchain(void)
 
     /* Try to get a nonexistant swapchain */
     hr = IDirect3DDevice9_GetSwapChain(pDevice, 1, &swapchainX);
-    ok(hr == D3DERR_INVALIDCALL, "GetSwapChain on an non-existant swapchain returned (%s)\n", DXGetErrorString9(hr));
+    ok(hr == D3DERR_INVALIDCALL, "GetSwapChain on an nonexistent swapchain returned (%s)\n", DXGetErrorString9(hr));
     ok(swapchainX == NULL, "Swapchain 1 is %p\n", swapchainX);
     if(swapchainX) IDirect3DSwapChain9_Release(swapchainX);
 
@@ -234,7 +234,7 @@ static void test_swapchain(void)
      */
     swapchainX = (void *) 0xdeadbeef;
     hr = IDirect3DDevice9_GetSwapChain(pDevice, 1, &swapchainX);
-    ok(hr == D3DERR_INVALIDCALL, "Failed to get the secound swapchain (%s)\n", DXGetErrorString9(hr));
+    ok(hr == D3DERR_INVALIDCALL, "Failed to get the second swapchain (%s)\n", DXGetErrorString9(hr));
     ok(swapchainX == NULL, "The swapchain pointer is %p\n", swapchainX);
     if(swapchainX && swapchainX != (void *) 0xdeadbeef ) IDirect3DSwapChain9_Release(swapchainX);
 
@@ -385,7 +385,7 @@ cleanup:
     CHECK_RELEASE(pStateBlock,          pDevice, --refcount);
     CHECK_RELEASE(pSwapChain,           pDevice, --refcount);
     CHECK_RELEASE(pQuery,               pDevice, --refcount);
-    /* This will destroy device - can not check the refcount here */
+    /* This will destroy device - cannot check the refcount here */
     if (pStateBlock1)         IUnknown_Release( pStateBlock1 );
 
     if (pD3d)                 IUnknown_Release( pD3d );
Index: dlls/riched20/editor.c
===================================================================
RCS file: /home/wine/wine/dlls/riched20/editor.c,v
retrieving revision 1.109
diff -u -p -r1.109 editor.c
--- dlls/riched20/editor.c	12 Jun 2006 15:03:59 -0000	1.109
+++ dlls/riched20/editor.c	15 Jun 2006 08:35:27 -0000
@@ -1490,7 +1490,7 @@ LRESULT WINAPI RichEditANSIWndProc(HWND 
       editor->nUndoLimit = min(wParam, STACK_SIZE_MAX);
     /* Setting a max stack size keeps wine from getting killed 
       for hogging memory. Windows allocates all this memory at once, so
-      no program would realisticly set a value above our maxiumum. */  
+      no program would realistically set a value above our maxiumum. */  
     return editor->nUndoLimit;
   }
   case EM_CANUNDO:
Index: dlls/wined3d/device.c
===================================================================
RCS file: /home/wine/wine/dlls/wined3d/device.c,v
retrieving revision 1.225
diff -u -p -r1.225 device.c
--- dlls/wined3d/device.c	13 Jun 2006 11:00:32 -0000	1.225
+++ dlls/wined3d/device.c	15 Jun 2006 08:35:30 -0000
@@ -4872,7 +4872,7 @@ process_vertices_strided(IWineD3DDeviceI
                   ( rhw > eps ) ) ) {
 
                 /* "Normal" viewport transformation (not clipped)
-                 * 1) The values are divided trough rhw
+                 * 1) The values are divided by rhw
                  * 2) The y axis is negative, so multiply it with -1
                  * 3) Screen coordinates go from -(Width/2) to +(Width/2) and
                  *    -(Height/2) to +(Height/2). The z range is MinZ to MaxZ
Index: dlls/wined3d/directx.c
===================================================================
RCS file: /home/wine/wine/dlls/wined3d/directx.c,v
retrieving revision 1.100
diff -u -p -r1.100 directx.c
--- dlls/wined3d/directx.c	13 Jun 2006 11:00:30 -0000	1.100
+++ dlls/wined3d/directx.c	15 Jun 2006 08:35:31 -0000
@@ -1739,7 +1739,7 @@ static HRESULT WINAPI IWineD3DImpl_GetDe
     if (wined3d_settings.ps_mode == PS_HW && wined3d_settings.shader_mode == SHADER_GLSL
         && DeviceType != WINED3DDEVTYPE_REF) {
         *pCaps->PixelShaderVersion = D3DPS_VERSION(3,0);
-        /* FIXME: The following line is card dependant. -1.0 to 1.0 is a safe default clamp range for now */
+        /* FIXME: The following line is card dependent. -1.0 to 1.0 is a safe default clamp range for now */
         *pCaps->PixelShader1xMaxValue = 1.0;
         TRACE_(d3d_caps)("Hardware pixel shader versions 2.0+ enabled\n");
         } else if (wined3d_settings.ps_mode == PS_HW
Index: dlls/wined3d/glsl_shader.c
===================================================================
RCS file: /home/wine/wine/dlls/wined3d/glsl_shader.c,v
retrieving revision 1.13
diff -u -p -r1.13 glsl_shader.c
--- dlls/wined3d/glsl_shader.c	13 Jun 2006 11:00:52 -0000	1.13
+++ dlls/wined3d/glsl_shader.c	15 Jun 2006 08:35:31 -0000
@@ -410,7 +410,7 @@ void shader_glsl_add_instruction_modifie
  * 
  ****************************************************************************/
 
-/* Generate GLSL arithmatic functions (dst = src1 + src2) */
+/* Generate GLSL arithmetic functions (dst = src1 + src2) */
 void shader_glsl_arith(SHADER_OPCODE_ARG* arg) {
 
     CONST SHADER_OPCODE* curOpcode = arg->opcode;
Index: server/token.c
===================================================================
RCS file: /home/wine/wine/server/token.c,v
retrieving revision 1.26
diff -u -p -r1.26 token.c
--- server/token.c	23 May 2006 12:49:34 -0000	1.26
+++ server/token.c	15 Jun 2006 08:35:35 -0000
@@ -1132,7 +1132,7 @@ DECL_HANDLER(access_check)
     }
 }
 
-/* retrives the SID of the user that the token represents */
+/* retrieves the SID of the user that the token represents */
 DECL_HANDLER(get_token_user)
 {
     struct token *token;


More information about the wine-patches mailing list