From 0acb5810bfb899e7c3a1dd965b28163fa4f97d6b Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Tue, 15 May 2007 14:01:05 +0200 Subject: [PATCH] Assorted spelling fixes. --- dlls/comctl32/listview.c | 2 +- dlls/ddraw/ddraw.c | 2 +- dlls/ddraw/tests/dsurface.c | 6 +++--- dlls/msi/tests/automation.c | 2 +- dlls/wined3d/device.c | 2 +- programs/regedit/regedit.c | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c index 68615040b84..161a5c8cd6a 100644 --- a/dlls/comctl32/listview.c +++ b/dlls/comctl32/listview.c @@ -3263,7 +3263,7 @@ static BOOL LISTVIEW_GetItemAtPt(const LISTVIEW_INFO *infoPtr, LPLVITEMW lpLVIte * over the item for a certain period of time. * */ -static LRESULT LISTVIEW_MouseHover(LISTVIEW_INFO *infoPtr, WORD fwKyes, INT x, INT y) +static LRESULT LISTVIEW_MouseHover(LISTVIEW_INFO *infoPtr, WORD fwKeys, INT x, INT y) { if (infoPtr->dwLvExStyle & LVS_EX_TRACKSELECT) { diff --git a/dlls/ddraw/ddraw.c b/dlls/ddraw/ddraw.c index dd1b078e7fa..2d8dc8a14cc 100644 --- a/dlls/ddraw/ddraw.c +++ b/dlls/ddraw/ddraw.c @@ -2026,7 +2026,7 @@ IDirectDrawImpl_CreateNewSurface(IDirectDrawImpl *This, * count: number of surfaces to create * DDSD: Description of the surface. Intentionally not a pointer to avoid side * effects on the caller - * CubeFaceRoot: Wether the new surface is a root of a cube map face. This + * CubeFaceRoot: Whether the new surface is a root of a cube map face. This * creates an additional surface without the mipmapping flags * *****************************************************************************/ diff --git a/dlls/ddraw/tests/dsurface.c b/dlls/ddraw/tests/dsurface.c index 565a390c180..2d3f6205bd7 100644 --- a/dlls/ddraw/tests/dsurface.c +++ b/dlls/ddraw/tests/dsurface.c @@ -1045,7 +1045,7 @@ static void AttachmentTest7(void) IDirectDrawSurface7_Release(surface2); num = 0; IDirectDrawSurface7_EnumAttachedSurfaces(surface3, &num, SurfaceCounter); - ok(num == 0, "Secound mip level has %d surfaces attached, expected 1\n", num); + ok(num == 0, "Second mip level has %d surfaces attached, expected 1\n", num); /* Done level 2 */ /* Mip level 3 is still needed */ @@ -1263,7 +1263,7 @@ static void AttachmentTest(void) hr = IDirectDraw_SetCooperativeLevel(lpDD, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); ok(hr == DD_OK, "SetCooperativeLevel returned %08x\n", hr); - /* Creating a back buffer as-is is not allowed, no need to perform attachment tests */ + /* Creating a back buffer as-is, is not allowed. No need to perform attachment tests */ memset(&ddsd, 0, sizeof(ddsd)); ddsd.dwSize = sizeof(ddsd); ddsd.dwFlags = DDSD_CAPS; @@ -1907,7 +1907,7 @@ static void CompressedTest(void) skip("Hardware DXTN textures not supported\n"); } - /* What happens to managed textures? Interestingly, Windows reports them as beeing in system + /* What happens to managed textures? Interestingly, Windows reports them as being in system * memory. The linear size fits again. */ ddsd.ddsCaps.dwCaps = DDSCAPS_TEXTURE; diff --git a/dlls/msi/tests/automation.c b/dlls/msi/tests/automation.c index 98014fdfee2..7a616a30c22 100644 --- a/dlls/msi/tests/automation.c +++ b/dlls/msi/tests/automation.c @@ -1510,7 +1510,7 @@ static void test_Installer_RegistryValue(void) ok(SUCCEEDED(hr), "Installer_RegistryValueW failed, hresult 0x%08x\n", hr); ok_w2("Default registry value \"%s\" does not match expected \"%s\"\n", szString, szOne); - /* Ask for the value of a non-existent key */ + /* Ask for the value of a nonexistent key */ memset(szString, 0, sizeof(szString)); hr = Installer_RegistryValueW(HKEY_CURRENT_USER, szKey, szExpand, szString); ok(hr == DISP_E_BADINDEX, "Installer_RegistryValueW failed, hresult 0x%08x\n", hr); diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index 223cdb4b249..9b9a1e96d24 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -4059,7 +4059,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetTexture(IWineD3DDevice *iface, DWORD } /** NOTE: MSDN says that setTexture increases the reference count, - * and the the application nust set the texture back to null (or have a leaky application), + * and the the application must set the texture back to null (or have a leaky application), * This means we should pass the refcount up to the parent *******************************/ if (NULL != This->updateStateBlock->textures[Stage]) { diff --git a/programs/regedit/regedit.c b/programs/regedit/regedit.c index 116be3d8416..68b11df633a 100644 --- a/programs/regedit/regedit.c +++ b/programs/regedit/regedit.c @@ -32,8 +32,8 @@ static const char *usage = "filename - registry file name\n" "regpath - name of the registry key\n" "\n" - "When regedit is called without any switches, it adds the contents of the\n" - "specified registry file to the registry\n" + "When called without any switches, adds the content of the specified\n" + "file to the registry\n" "\n" "Switches:\n" " /E - exports contents of the specified registry key to the specified\n"