From 1ccf94490030b68ac17a8e067ddcd25997ca1c51 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Sun, 12 Nov 2006 19:51:37 +0100 Subject: [PATCH] Assorted spelling fixes. --- dlls/avifil32/api.c | 2 +- dlls/comctl32/rebar.c | 6 +++--- dlls/comctl32/tests/header.c | 2 +- dlls/dplayx/dplayx_messages.c | 2 +- dlls/dsound/tests/capture.c | 2 +- dlls/dsound/tests/dsound.c | 2 +- dlls/dsound/tests/dsound8.c | 2 +- dlls/msi/action.c | 2 +- dlls/msi/custom.c | 4 ++-- dlls/msvfw32/msvideo_main.c | 2 +- dlls/ntdll/handletable.c | 2 +- dlls/ole32/moniker.c | 2 +- dlls/ole32/ole2_16.c | 2 +- dlls/uxtheme/system.c | 2 +- dlls/wined3d/device.c | 6 +++--- dlls/wined3d/wined3d_main.c | 2 +- dlls/winex11.drv/dib_convert.c | 4 ++-- dlls/winex11.drv/opengl.c | 8 ++++---- dlls/winmm/wineoss/dscapture.c | 2 +- 19 files changed, 28 insertions(+), 28 deletions(-) diff --git a/dlls/avifil32/api.c b/dlls/avifil32/api.c index 9236f0d08f4..92c67748c96 100644 --- a/dlls/avifil32/api.c +++ b/dlls/avifil32/api.c @@ -185,7 +185,7 @@ void WINAPI AVIFileInit(void) { */ void WINAPI AVIFileExit(void) { /* need to free ole32.dll if we are the last exit call */ - /* OleUnitialize() */ + /* OleUninitialize() */ FIXME("(): stub!\n"); } diff --git a/dlls/comctl32/rebar.c b/dlls/comctl32/rebar.c index e999d6b44bc..58d573d8676 100644 --- a/dlls/comctl32/rebar.c +++ b/dlls/comctl32/rebar.c @@ -1960,16 +1960,16 @@ REBAR_ValidateBand (REBAR_INFO *infoPtr, REBAR_BAND *lpBand) lpBand->hcx = 0; lpBand->hcy = 0; - /* Data comming in from users into the cx... and cy... fields */ + /* Data coming in from users into the cx... and cy... fields */ /* may be bad, just garbage, because the user never clears */ /* the fields. RB_{SET|INSERT}BAND{A|W} just passes the data */ /* along if the fields exist in the input area. Here we must */ /* determine if the data is valid. I have no idea how MS does */ /* the validation, but it does because the RB_GETBANDINFO */ /* returns a 0 when I know the sample program passed in an */ - /* address. Here I will use the algorithim that if the value */ + /* address. Here I will use the algorithm that if the value */ /* is greater than 65535 then it is bad and replace it with */ - /* a zero. Feel free to improve the algorithim. - GA 12/2000 */ + /* a zero. Feel free to improve the algorithm. - GA 12/2000 */ if (lpBand->cxMinChild > 65535) lpBand->cxMinChild = 0; if (lpBand->cyMinChild > 65535) lpBand->cyMinChild = 0; if (lpBand->cx > 65535) lpBand->cx = 0; diff --git a/dlls/comctl32/tests/header.c b/dlls/comctl32/tests/header.c index ad64c08e0f1..a9ec1a550a4 100644 --- a/dlls/comctl32/tests/header.c +++ b/dlls/comctl32/tests/header.c @@ -145,7 +145,7 @@ static void addReadDelItem(HWND hdex, HDITEMA *phdiCreate, int maskRead, HDITEMA ZeroMemory(phdiRead, sizeof(HDITEMA)); phdiRead->mask = maskRead; ok(SendMessage(hdex, HDM_GETITEMA, (WPARAM)0, (LPARAM)phdiRead)!=0, "Getting item data failed\n"); - ok(SendMessage(hdex, HDM_DELETEITEM, (WPARAM)0, (LPARAM)0)!=0, "Deleteing item failed\n"); + ok(SendMessage(hdex, HDM_DELETEITEM, (WPARAM)0, (LPARAM)0)!=0, "Deleting item failed\n"); } static HWND create_header_control (void) diff --git a/dlls/dplayx/dplayx_messages.c b/dlls/dplayx/dplayx_messages.c index da91286ef7b..5677b204566 100644 --- a/dlls/dplayx/dplayx_messages.c +++ b/dlls/dplayx/dplayx_messages.c @@ -153,7 +153,7 @@ end_of_thread: return 0; } -/* DP messageing stuff */ +/* DP messaging stuff */ static HANDLE DP_MSG_BuildAndLinkReplyStruct( IDirectPlay2Impl* This, LPDP_MSG_REPLY_STRUCT_LIST lpReplyStructList, WORD wReplyCommandId ); diff --git a/dlls/dsound/tests/capture.c b/dlls/dsound/tests/capture.c index 27ebff5ad37..e4a782338a4 100644 --- a/dlls/dsound/tests/capture.c +++ b/dlls/dsound/tests/capture.c @@ -127,7 +127,7 @@ static void IDirectSoundCapture_test(LPDIRECTSOUNDCAPTURE dsco, IDirectSoundCapture_Release(dsc); if (initialized == FALSE) { - /* try unitialized object */ + /* try uninitialized object */ rc=IDirectSoundCapture_GetCaps(dsco,0); ok(rc==DSERR_UNINITIALIZED||rc==E_INVALIDARG, "IDirectSoundCapture_GetCaps(NULL) should have returned " diff --git a/dlls/dsound/tests/dsound.c b/dlls/dsound/tests/dsound.c index 9c19b6c2102..b2e072a63d3 100644 --- a/dlls/dsound/tests/dsound.c +++ b/dlls/dsound/tests/dsound.c @@ -67,7 +67,7 @@ static void IDirectSound_test(LPDIRECTSOUND dso, BOOL initialized, IDirectSound8_Release(ds8); if (initialized == FALSE) { - /* try unitialized object */ + /* try uninitialized object */ rc=IDirectSound_GetCaps(dso,0); ok(rc==DSERR_UNINITIALIZED,"IDirectSound_GetCaps(NULL) " "should have returned DSERR_UNINITIALIZED, returned: %s\n", diff --git a/dlls/dsound/tests/dsound8.c b/dlls/dsound/tests/dsound8.c index 8b92f5344bb..08d3623d933 100644 --- a/dlls/dsound/tests/dsound8.c +++ b/dlls/dsound/tests/dsound8.c @@ -77,7 +77,7 @@ static void IDirectSound8_test(LPDIRECTSOUND8 dso, BOOL initialized, IDirectSound8_Release(ds8); if (initialized == FALSE) { - /* try unitialized object */ + /* try uninitialized object */ rc=IDirectSound8_GetCaps(dso,0); ok(rc==DSERR_UNINITIALIZED,"IDirectSound8_GetCaps(NULL) " "should have returned DSERR_UNINITIALIZED, returned: %s\n", diff --git a/dlls/msi/action.c b/dlls/msi/action.c index 456d4e0cd08..7dcb375f619 100644 --- a/dlls/msi/action.c +++ b/dlls/msi/action.c @@ -3788,7 +3788,7 @@ static UINT ACTION_InstallFinalize(MSIPACKAGE *package) { UINT rc; - /* turn off scheduleing */ + /* turn off scheduling */ package->script->CurrentlyScripting= FALSE; /* first do the same as an InstallExecute */ diff --git a/dlls/msi/custom.c b/dlls/msi/custom.c index a464dfede10..9c0a7d2b577 100644 --- a/dlls/msi/custom.c +++ b/dlls/msi/custom.c @@ -243,7 +243,7 @@ UINT ACTION_CustomAction(MSIPACKAGE *package,LPCWSTR action, BOOL execute) case 1: /* DLL file stored in a Binary table stream */ rc = HANDLE_CustomType1(package,source,target,type,action); break; - case 2: /* EXE file stored in a Binary table strem */ + case 2: /* EXE file stored in a Binary table stream */ rc = HANDLE_CustomType2(package,source,target,type,action); break; case 18: /*EXE file installed with package */ @@ -511,7 +511,7 @@ static DWORD WINAPI DllThread(LPVOID info) rc = ACTION_CallDllFunction(stuff); TRACE("MSI Thread (%x) finished (rc %i)\n",GetCurrentThreadId(), rc); - /* clse all handles for this thread */ + /* close all handles for this thread */ MsiCloseAllHandles(); return rc; } diff --git a/dlls/msvfw32/msvideo_main.c b/dlls/msvfw32/msvideo_main.c index 7ad53f3398e..76516879f55 100644 --- a/dlls/msvfw32/msvideo_main.c +++ b/dlls/msvfw32/msvideo_main.c @@ -470,7 +470,7 @@ LRESULT VFWAPI ICGetInfo(HIC hic, ICINFO *picinfo, DWORD cb) /* (WS) The field szDriver should be initialized because the driver * is not obliged and often will not do it. Some applications, like * VirtualDub, rely on this field and will occasionally crash if it - * goes unitialized. + * goes uninitialized. */ if (cb >= sizeof(ICINFO)) picinfo->szDriver[0] = '\0'; diff --git a/dlls/ntdll/handletable.c b/dlls/ntdll/handletable.c index 51057161273..e601b1297af 100644 --- a/dlls/ntdll/handletable.c +++ b/dlls/ntdll/handletable.c @@ -188,7 +188,7 @@ static NTSTATUS RtlpAllocateSomeHandles(RTL_HANDLE_TABLE * HandleTable) * * NOTES * A valid handle must have the bit set as indicated in the code below - * otherwise subsquent RtlIsValidHandle() calls will fail. + * otherwise subsequent RtlIsValidHandle() calls will fail. * * static inline void RtlpMakeHandleAllocated(RTL_HANDLE * Handle) * { diff --git a/dlls/ole32/moniker.c b/dlls/ole32/moniker.c index 06946a0d17f..080b936b5f8 100644 --- a/dlls/ole32/moniker.c +++ b/dlls/ole32/moniker.c @@ -808,7 +808,7 @@ static ULONG WINAPI EnumMonikerImpl_Release(IEnumMoniker* iface) ref = InterlockedDecrement(&This->ref); - /* unitialize rot structure if there's no more reference to it*/ + /* uninitialize rot structure if there's no more reference to it*/ if (ref == 0) { ULONG i; diff --git a/dlls/ole32/ole2_16.c b/dlls/ole32/ole2_16.c index 1c6bba159e8..20e9725a14b 100644 --- a/dlls/ole32/ole2_16.c +++ b/dlls/ole32/ole2_16.c @@ -120,7 +120,7 @@ HGLOBAL16 WINAPI OleMetaFilePictFromIconAndLabel16( mf16 = (METAFILEPICT16 *)GlobalLock16(hmf16); mf16->mm = MM_ANISOTROPIC; mf16->xExt = 20; /* FIXME: bogus */ - mf16->yExt = 20; /* dito */ + mf16->yExt = 20; /* ditto */ mfSize = GetMetaFileBitsEx(hmf, 0, 0); mf16->hMF = GlobalAlloc16(GMEM_MOVEABLE, mfSize); if(mf16->hMF) diff --git a/dlls/uxtheme/system.c b/dlls/uxtheme/system.c index 83381b01ede..b0545b1f2c8 100644 --- a/dlls/uxtheme/system.c +++ b/dlls/uxtheme/system.c @@ -206,7 +206,7 @@ static void UXTHEME_LoadTheme(void) } if(!bThemeActive) { MSSTYLES_SetActiveTheme(NULL, FALSE); - TRACE("Themeing not active\n"); + TRACE("Theming not active\n"); } } diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index 794cba3342d..9cf6f252360 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -1699,7 +1699,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreateAdditionalSwapChain(IWineD3DDevic *******************/ /* Put the correct figures in the presentation parameters */ - TRACE("Coppying accross presentaion paraneters\n"); + TRACE("Copying across presentation parameters\n"); object->presentParms.BackBufferWidth = *(pPresentationParameters->BackBufferWidth); object->presentParms.BackBufferHeight = *(pPresentationParameters->BackBufferHeight); object->presentParms.BackBufferFormat = *(pPresentationParameters->BackBufferFormat); @@ -5452,7 +5452,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_ProcessVertices(IWineD3DDevice *iface, * buffer and loading the VBO */ if(SrcImpl->vbo) { - TRACE("Releaseing the source vbo, it won't be needed\n"); + TRACE("Releasing the source vbo, it won't be needed\n"); if(!SrcImpl->resource.allocatedMemory) { /* Rescue the data from the buffer */ @@ -6761,7 +6761,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_UpdateSurface(IWineD3DDevice *iface, WINED3DFMT_DXT5 == destFormat) { if (GL_SUPPORT(EXT_TEXTURE_COMPRESSION_S3TC)) { if (destSurfaceHeight != srcHeight || destSurfaceWidth != srcWidth) { - /* FIXME: The easy way to do this is lock the destination, and copy the bits accross */ + /* FIXME: The easy way to do this is to lock the destination, and copy the bits across */ FIXME("Updating part of a compressed texture is not supported at the moment\n"); } if (destFormat != srcFormat) { FIXME("Updating mixed format compressed texture is not curretly support\n"); diff --git a/dlls/wined3d/wined3d_main.c b/dlls/wined3d/wined3d_main.c index 8a7d631adf0..6fe6a681e62 100644 --- a/dlls/wined3d/wined3d_main.c +++ b/dlls/wined3d/wined3d_main.c @@ -74,7 +74,7 @@ IWineD3D* WINAPI WineDirect3DCreate(UINT SDKVersion, UINT dxVersion, IUnknown *p /*Create a structure for storing global data in*/ if(wineD3DGlobalStatistics == NULL){ - TRACE("Createing global statistics store\n"); + TRACE("Creating global statistics store\n"); wineD3DGlobalStatistics = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*wineD3DGlobalStatistics)); } diff --git a/dlls/winex11.drv/dib_convert.c b/dlls/winex11.drv/dib_convert.c index 96039738631..d946918e8f8 100644 --- a/dlls/winex11.drv/dib_convert.c +++ b/dlls/winex11.drv/dib_convert.c @@ -829,7 +829,7 @@ static void convert_888_to_0888_asis(int width, int height, for (y=0; yis_capturing) return DS_OK; - /* no more captureing */ + /* no more capturing */ WInDev[This->drv->wDevID].ossdev->bInputEnabled = FALSE; enable = getEnables(WInDev[This->drv->wDevID].ossdev); if (ioctl(WInDev[This->drv->wDevID].ossdev->fd, SNDCTL_DSP_SETTRIGGER, &enable) < 0) {