Module: wine
Branch: refs/heads/master
Commit: 11ae0f63861027796aec636a6225cc1628fc9feb
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=11ae0f63861027796aec636…
Author: Francois Gouget <fgouget(a)free.fr>
Date: Thu Jun 15 17:38:04 2006 +0200
Assorted spelling fixes.
---
dlls/comctl32/tests/header.c | 2 +-
dlls/d3d9/tests/device.c | 6 +++---
dlls/riched20/editor.c | 2 +-
dlls/wined3d/device.c | 2 +-
dlls/wined3d/directx.c | 2 +-
dlls/wined3d/glsl_shader.c | 2 +-
server/token.c | 2 +-
7 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/dlls/comctl32/tests/header.c b/dlls/comctl32/tests/header.c
index 178eac1..65038ce 100644
--- a/dlls/comctl32/tests/header.c
+++ b/dlls/comctl32/tests/header.c
@@ -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;
diff --git a/dlls/d3d9/tests/device.c b/dlls/d3d9/tests/device.c
index a01b2b5..9175d27 100644
--- a/dlls/d3d9/tests/device.c
+++ b/dlls/d3d9/tests/device.c
@@ -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);
@@ -233,7 +233,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);
@@ -384,7 +384,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 );
diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c
index ac1bf39..21f951e 100644
--- a/dlls/riched20/editor.c
+++ b/dlls/riched20/editor.c
@@ -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:
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 1feb072..745eeb8 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -4977,7 +4977,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
diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index f7f461c..68c1131 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -1739,7 +1739,7 @@ #endif
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
diff --git a/dlls/wined3d/glsl_shader.c b/dlls/wined3d/glsl_shader.c
index e99a2a2..54e311d 100644
--- a/dlls/wined3d/glsl_shader.c
+++ b/dlls/wined3d/glsl_shader.c
@@ -413,7 +413,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;
diff --git a/server/token.c b/server/token.c
index 4b15a30..983d751 100644
--- a/server/token.c
+++ b/server/token.c
@@ -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;