Module: wine
Branch: master
Commit: 0f38a60dd367facb91199bdf11c0da530df82777
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0f38a60dd367facb91199bdf1…
Author: Francois Gouget <fgouget(a)free.fr>
Date: Fri Oct 10 13:44:43 2008 +0200
Assorted spelling fixes.
---
dlls/d3d9/tests/visual.c | 2 +-
dlls/d3dxof/d3dxof.c | 4 ++--
dlls/wined3d/swapchain_base.c | 10 +++++-----
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c
index 3211076..c49d5b6 100644
--- a/dlls/d3d9/tests/visual.c
+++ b/dlls/d3d9/tests/visual.c
@@ -9687,7 +9687,7 @@ static void zwriteenable_test(IDirect3DDevice9 *device) {
ok(hr == D3D_OK, "IDirect3DDevice9_BeginScene failed with 0x%08x\n", hr);
if(SUCCEEDED(hr)) {
/* The Z buffer is filled with 1.0. Draw a red quad with z = 0.1, zenable = D3DZB_FALSE, zwriteenable = TRUE.
- * The red color is written because the z test is disabled. The question is wether the z = 0.1 values
+ * The red color is written because the z test is disabled. The question is whether the z = 0.1 values
* are written into the Z buffer. After the draw, set zenable = TRUE and draw a green quad at z = 0.9.
* If the values are written, the z test will fail(0.9 > 0.1) and the red color remains. If the values
* are not written, the z test succeeds(0.9 < 1.0) and the green color is written. It turns out that
diff --git a/dlls/d3dxof/d3dxof.c b/dlls/d3dxof/d3dxof.c
index 0bd5947..5fae6d5 100644
--- a/dlls/d3dxof/d3dxof.c
+++ b/dlls/d3dxof/d3dxof.c
@@ -1300,7 +1300,7 @@ static HRESULT WINAPI IDirectXFileDataImpl_QueryInterface(IDirectXFileData* ifac
return S_OK;
}
- /* Do not print an error for interfaces that can be queried to retreive the type of the object */
+ /* Do not print an error for interfaces that can be queried to retrieve the type of the object */
if (!IsEqualGUID(riid, &IID_IDirectXFileBinary)
&& !IsEqualGUID(riid, &IID_IDirectXFileDataReference))
ERR("(%p)->(%s,%p),not found\n",This,debugstr_guid(riid),ppvObject);
@@ -1520,7 +1520,7 @@ static HRESULT WINAPI IDirectXFileDataReferenceImpl_QueryInterface(IDirectXFileD
return S_OK;
}
- /* Do not print an error for interfaces that can be queried to retreive the type of the object */
+ /* Do not print an error for interfaces that can be queried to retrieve the type of the object */
if (!IsEqualGUID(riid, &IID_IDirectXFileData)
&& !IsEqualGUID(riid, &IID_IDirectXFileBinary))
ERR("(%p)->(%s,%p),not found\n",This,debugstr_guid(riid),ppvObject);
diff --git a/dlls/wined3d/swapchain_base.c b/dlls/wined3d/swapchain_base.c
index 75adf77..4088190 100644
--- a/dlls/wined3d/swapchain_base.c
+++ b/dlls/wined3d/swapchain_base.c
@@ -95,15 +95,15 @@ HRESULT WINAPI IWineD3DBaseSwapChainImpl_GetBackBuffer(IWineD3DSwapChain *iface,
if (iBackBuffer > This->presentParms.BackBufferCount - 1) {
TRACE("Back buffer count out of range\n");
- /* Native d3d9 doesn't set NULL here, just as wine's d3d9. But set it here
- * in wined3d to avoid problems in other libs
- */
+ /* Native d3d9 doesn't set NULL here, just as wine's d3d9. But set it
+ * here in wined3d to avoid problems in other libs
+ */
*ppBackBuffer = NULL;
return WINED3DERR_INVALIDCALL;
}
- /* Return invalid if there is no backbufferarray, otherwise it will crash when ddraw is
- * used (there This->backBuffer is allways NULL). We need this because this function have
+ /* Return invalid if there is no backbuffer array, otherwise it will crash when ddraw is
+ * used (there This->backBuffer is always NULL). We need this because this function has
* to be called from IWineD3DStateBlockImpl_InitStartupStateBlock to get the default
* scissorrect dimensions. */
if( !This->backBuffer ) {