diff --git a/dlls/comctl32/tests/header.c b/dlls/comctl32/tests/header.c index 178eac18781..65038cef1ee 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 a01b2b5e076..9175d27baa9 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 ac1bf39cf63..21f951efe79 100644 --- a/dlls/riched20/editor.c +++ b/dlls/riched20/editor.c @@ -1490,7 +1490,7 @@ LRESULT WINAPI RichEditANSIWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lP 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 1feb072662a..745eeb81881 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -4977,7 +4977,7 @@ process_vertices_strided(IWineD3DDeviceImpl *This, DWORD dwDestIndex, DWORD dwCo ( 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 f7f461cf2b6..68c1131526d 100644 --- a/dlls/wined3d/directx.c +++ b/dlls/wined3d/directx.c @@ -1739,7 +1739,7 @@ static HRESULT WINAPI IWineD3DImpl_GetDeviceCaps(IWineD3D *iface, UINT Adapter, 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 e99a2a29483..54e311d8a10 100644 --- a/dlls/wined3d/glsl_shader.c +++ b/dlls/wined3d/glsl_shader.c @@ -413,7 +413,7 @@ void shader_glsl_add_instruction_modifiers(SHADER_OPCODE_ARG* arg) { * ****************************************************************************/ -/* 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 4b15a30e0bf..983d7519ba1 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;