Assorted spelling fixes.

Francois Gouget fgouget at free.fr
Thu Jan 4 03:47:11 CST 2007


---
 dlls/dinput/tests/device.c |    2 +-
 dlls/mshtml/olecmd.c       |    2 +-
 dlls/wined3d/device.c      |    2 +-
 dlls/wined3d/state.c       |    6 +++---
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dlls/dinput/tests/device.c b/dlls/dinput/tests/device.c
index cc79b45..58c9d8f 100644
--- a/dlls/dinput/tests/device.c
+++ b/dlls/dinput/tests/device.c
@@ -104,7 +104,7 @@ static void test_object_info(LPDIRECTINPUTDEVICE device, HWND hwnd)
         hr = IDirectInputDevice_SetProperty(device, DIPROP_AXISMODE, &dp.diph);
         ok(hr == DI_OK, "SetProperty() failed: %s\n", DXGetErrorString8(hr));
 
-        /* Can not change mode while acquired */
+        /* Cannot change mode while acquired */
         hr = IDirectInputDevice_Acquire(device);
         ok(hr == DI_OK, "Acquire() failed: %s\n", DXGetErrorString8(hr));
         hr = IDirectInputDevice_SetProperty(device, DIPROP_AXISMODE, &dp.diph);
diff --git a/dlls/mshtml/olecmd.c b/dlls/mshtml/olecmd.c
index 60518a1..1b6f71b 100644
--- a/dlls/mshtml/olecmd.c
+++ b/dlls/mshtml/olecmd.c
@@ -286,7 +286,7 @@ static HRESULT exec_print(HTMLDocument *This, DWORD nCmdexecopt, VARIANT *pvaIn,
             }
 
             if(opts_cnt >= 3)
-                FIXME("Unsuported opts_cnt %d\n", opts_cnt);
+                FIXME("Unsupported opts_cnt %d\n", opts_cnt);
 
             SafeArrayUnaccessData(V_ARRAY(pvaIn));
             break;
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 676f875..8ceb82e 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -3478,7 +3478,7 @@ static void IWineD3DDeviceImpl_FindTexUnitMap(IWineD3DDeviceImpl *This) {
         This->oneToOneTexUnitMap = TRUE;
         return;
     } else {
-        /* No pixel shader, and we do not have enought texture units available. Try to skip NULL textures
+        /* No pixel shader, and we do not have enough texture units available. Try to skip NULL textures
          * First, see if we can succeed at all
          */
         tex = 0;
diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c
index 935bd90..c11c5e6 100644
--- a/dlls/wined3d/state.c
+++ b/dlls/wined3d/state.c
@@ -1748,7 +1748,7 @@ static void sampler(DWORD state, IWineD3DStateBlockImpl *stateblock) {
             activate_dimensions(sampler, stateblock);
 
             if(stateblock->renderState[WINED3DRS_COLORKEYENABLE] && sampler == 0) {
-                /* If color keying is enabled update the alpha test, it depends on the existance
+                /* If color keying is enabled update the alpha test, it depends on the existence
                  * of a color key in stage 0
                  */
                 state_alpha(WINED3DRS_COLORKEYENABLE, stateblock);
@@ -2027,7 +2027,7 @@ static void vertexdeclaration(DWORD state, IWineD3DStateBlockImpl *stateblock) {
         primitiveConvertToStridedData((IWineD3DDevice *) device, &device->strided_streams,
 									   &device->streamFixedUp);
      }
-    /* Do I have to use ? TRUE : FALSE ? Or can I rely on 15==15 beeing equal to TRUE(=1)? */
+    /* Do I have to use ? TRUE : FALSE ? Or can I rely on 15==15 being equal to TRUE(=1)? */
     transformed = ((device->strided_streams.u.s.position.lpData != NULL ||
                     device->strided_streams.u.s.position.VBO != 0) &&
                     device->strided_streams.u.s.position_transformed) ? TRUE : FALSE;
@@ -2036,7 +2036,7 @@ static void vertexdeclaration(DWORD state, IWineD3DStateBlockImpl *stateblock) {
         updateFog = TRUE;
     }
 
-    /* Reapply lighting if it is not sheduled for reapplication already */
+    /* Reapply lighting if it is not scheduled for reapplication already */
     if(!isStateDirty(device, STATE_RENDER(WINED3DRS_LIGHTING))) {
         state_lighting(STATE_RENDER(WINED3DRS_LIGHTING), stateblock);
     }
-- 
1.4.4.2




More information about the wine-patches mailing list