From 56aaea2f43601feeffe7da0023c4e91d3cb4a604 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Wed, 9 Jul 2003 02:52:57 +0000 Subject: [PATCH] Spelling fixes. --- dlls/avifil32/api.c | 2 +- dlls/comctl32/listview.c | 2 +- dlls/dmusic/helper.c | 4 ++-- dlls/dplayx/dplay.c | 2 +- dlls/dsound/sound3d.c | 6 +++--- dlls/msvideo/msrle32/msrle32.c | 2 +- dlls/ole32/storage32.c | 12 ++++++------ dlls/oleaut32/safearray.c | 2 +- dlls/oleaut32/typelib16.c | 2 +- dlls/oleaut32/variant.c | 2 +- dlls/shell32/tests/shlfileop.c | 2 +- documentation/configuring.sgml | 4 ++-- include/ddraw.h | 4 ++-- 13 files changed, 23 insertions(+), 23 deletions(-) diff --git a/dlls/avifil32/api.c b/dlls/avifil32/api.c index 02b58ef621b..4cde83ae233 100644 --- a/dlls/avifil32/api.c +++ b/dlls/avifil32/api.c @@ -1918,7 +1918,7 @@ HRESULT WINAPI AVISaveVW(LPCWSTR szFile, CLSID *pclsidHandler, AVIStreamSetFormat(pOutStreams[curStream], sInfo.dwStart, lpBuffer, lBufferSize); - /* try to read block and resize buffer if neccessary */ + /* try to read block and resize buffer if necessary */ do { lReadSamples = 0; lReadBytes = cbBuffer; diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c index 27230cfefde..ed0b8131ccc 100644 --- a/dlls/comctl32/listview.c +++ b/dlls/comctl32/listview.c @@ -9183,7 +9183,7 @@ static HWND CreateEditLabelT(LISTVIEW_INFO *infoPtr, LPCWSTR text, DWORD style, if(infoPtr->hFont != 0) hOldFont = SelectObject(hdc, infoPtr->hFont); - /*Get String Lenght in pixels */ + /*Get String Length in pixels */ GetTextExtentPoint32W(hdc, text, lstrlenW(text), &sz); /*Add Extra spacing for the next character */ diff --git a/dlls/dmusic/helper.c b/dlls/dmusic/helper.c index 924f4d344da..0614e58ae14 100644 --- a/dlls/dmusic/helper.c +++ b/dlls/dmusic/helper.c @@ -959,8 +959,8 @@ HRESULT WINAPI DMUSIC_FillSegmentFromFileHandle (IDirectMusicSegment8Impl *segme case DMUS_FOURCC_SEGMENT_CHUNK: { TRACE("segh: segment header\n"); ReadFile (fd, &header, chunk.size, &BytesRead, NULL); - TRACE_(dmfiledat)("=> dwRepeats = %ld; mtLength = %li; mtPlayStart = %li; mtLoopStart = %li; mtLoopEnd = %li; dwResolution = %ld; rtLenght = FIXME; dwFlags = %ld; dwReserved = %ld\n", \ - header.dwRepeats, header.mtLength, header.mtPlayStart, header.mtLoopStart, header.mtLoopEnd, header.dwResolution/*, header.rtLenght*/, header.dwFlags, header.dwReserved); + TRACE_(dmfiledat)("=> dwRepeats = %ld; mtLength = %li; mtPlayStart = %li; mtLoopStart = %li; mtLoopEnd = %li; dwResolution = %ld; rtLength = FIXME; dwFlags = %ld; dwReserved = %ld\n", \ + header.dwRepeats, header.mtLength, header.mtPlayStart, header.mtLoopStart, header.mtLoopEnd, header.dwResolution/*, header.rtLength*/, header.dwFlags, header.dwReserved); break; } case DMUS_FOURCC_GUID_CHUNK: { TRACE("'guid': GUID\n"); diff --git a/dlls/dplayx/dplay.c b/dlls/dplayx/dplay.c index e4ab5aeb977..fde36e396a2 100644 --- a/dlls/dplayx/dplay.c +++ b/dlls/dplayx/dplay.c @@ -5173,7 +5173,7 @@ HRESULT DP_SetSPPlayerData( IDirectPlay2Impl* lpDP, * services. * * This API is useful only for applications written using DirectX3 or - * worse. It is superceeded by IDirectPlay3::EnumConnections which also + * worse. It is superseded by IDirectPlay3::EnumConnections which also * gives information on the actual connections. * * defn of a service provider: diff --git a/dlls/dsound/sound3d.c b/dlls/dsound/sound3d.c index 95a5d7d9f27..f4bac6550d1 100644 --- a/dlls/dsound/sound3d.c +++ b/dlls/dsound/sound3d.c @@ -98,7 +98,7 @@ static inline D3DVECTOR VectorProduct (LPD3DVECTOR a, LPD3DVECTOR b) return c; } -/* magnitude (lenght) of vector */ +/* magnitude (length) of vector */ static inline D3DVALUE VectorMagnitude (LPD3DVECTOR a) { D3DVALUE l; @@ -313,11 +313,11 @@ void DSOUND_Calc3DBuffer(IDirectSoundBufferImpl *dsb) } else { - /* calculate lenght of ds3db.vVelocity component which causes Doppler Effect + /* calculate length of ds3db.vVelocity component which causes Doppler Effect NOTE: if buffer moves TOWARDS the listener, it's velocity component is NEGATIVE if buffer moves AWAY from listener, it's velocity component is POSITIVE */ flBufferVel = ProjectVector(&dsb->ds3db_ds3db.vVelocity, &vDistance); - /* calculate lenght of ds3dl.vVelocity component which causes Doppler Effect + /* calculate length of ds3dl.vVelocity component which causes Doppler Effect NOTE: if listener moves TOWARDS the buffer, it's velocity component is POSITIVE if listener moves AWAY from buffer, it's velocity component is NEGATIVE */ flListenerVel = ProjectVector(&dsb->dsound->ds3dl.vVelocity, &vDistance); diff --git a/dlls/msvideo/msrle32/msrle32.c b/dlls/msvideo/msrle32/msrle32.c index bb0f4386c5d..fa79d7b7eed 100644 --- a/dlls/msvideo/msrle32/msrle32.c +++ b/dlls/msvideo/msrle32/msrle32.c @@ -157,7 +157,7 @@ static BOOL isSupportedDIB(LPCBITMAPINFOHEADER lpbi) if (DIBWIDTHBYTES(*lpbi) * (DWORD)lpbi->biHeight >= (1UL << 31) - 1) return FALSE; /* image too big ! */ - /* check for non existing colortable for hi- and true-color DIB's */ + /* check for non-existent colortable for hi- and true-color DIB's */ if (lpbi->biBitCount >= 15 && lpbi->biClrUsed > 0) return FALSE; diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c index 53c94221c99..a925b95790d 100644 --- a/dlls/ole32/storage32.c +++ b/dlls/ole32/storage32.c @@ -1295,7 +1295,7 @@ static LONG propertyNameCmp( if (diff == 0) { /* - * We compare the string themselves only when they are of the same lenght + * We compare the string themselves only when they are of the same length */ diff = lstrcmpiW( newProperty, currentProperty); } @@ -6177,7 +6177,7 @@ HRESULT OLECONVERT_LoadOLE10(LPOLESTREAM pOleStream, OLECONVERT_OLESTREAM_DATA * { if(pData->dwTypeID != 0) { - /* Get the lenght of the OleTypeName */ + /* Get the length of the OleTypeName */ dwSize = pOleStream->lpstbl->Get(pOleStream, (void *) &(pData->dwOleTypeNameLength), sizeof(pData->dwOleTypeNameLength)); if(dwSize != sizeof(pData->dwOleTypeNameLength)) { @@ -6240,7 +6240,7 @@ HRESULT OLECONVERT_LoadOLE10(LPOLESTREAM pOleStream, OLECONVERT_OLESTREAM_DATA * } if(hRes == S_OK) { - /* Get the Lenght of the Data */ + /* Get the Length of the Data */ dwSize = pOleStream->lpstbl->Get(pOleStream, (void *)&(pData->dwDataLength), sizeof(pData->dwDataLength)); if(dwSize != sizeof(pData->dwDataLength)) { @@ -6328,7 +6328,7 @@ HRESULT OLECONVERT_SaveOLE10(OLECONVERT_OLESTREAM_DATA *pData, LPOLESTREAM pOleS if(pData->dwOleID == OLESTREAM_ID && pData->dwTypeID != 0 && hRes == S_OK) { - /* Set the Lenght of the OleTypeName */ + /* Set the Length of the OleTypeName */ dwSize = pOleStream->lpstbl->Put(pOleStream, (void *)&(pData->dwOleTypeNameLength), sizeof(pData->dwOleTypeNameLength)); if(dwSize != sizeof(pData->dwOleTypeNameLength)) { @@ -6370,7 +6370,7 @@ HRESULT OLECONVERT_SaveOLE10(OLECONVERT_OLESTREAM_DATA *pData, LPOLESTREAM pOleS if(hRes == S_OK) { - /* Set the lenght of the Data */ + /* Set the length of the Data */ dwSize = pOleStream->lpstbl->Put(pOleStream, (void *)&(pData->dwDataLength), sizeof(pData->dwDataLength)); if(dwSize != sizeof(pData->dwDataLength)) { @@ -6992,7 +6992,7 @@ void OLECONVERT_CreateOlePresStream(LPSTORAGE pStorage, DWORD dwExtentX, DWORD d OlePres.dwExtentX = dwExtentX; OlePres.dwExtentY = -dwExtentY; - /* Set Data and Lenght */ + /* Set Data and Length */ if(dwDataLength > sizeof(METAFILEPICT16)) { OlePres.dwSize = dwDataLength - sizeof(METAFILEPICT16); diff --git a/dlls/oleaut32/safearray.c b/dlls/oleaut32/safearray.c index 3661bb9d5d9..ec4bef2f838 100644 --- a/dlls/oleaut32/safearray.c +++ b/dlls/oleaut32/safearray.c @@ -720,7 +720,7 @@ HRESULT WINAPI SafeArrayCopyData( ulWholeArraySize = getArraySize(psaSource); - /* The two arrays boundaries must be of same lenght */ + /* The two arrays boundaries must be of same length */ for(cDimCount=0;cDimCount < psaSource->cDims; cDimCount++) if( psaSource->rgsabound[cDimCount].cElements != psaTarget->rgsabound[cDimCount].cElements) diff --git a/dlls/oleaut32/typelib16.c b/dlls/oleaut32/typelib16.c index 9b16d659c29..727acf46743 100644 --- a/dlls/oleaut32/typelib16.c +++ b/dlls/oleaut32/typelib16.c @@ -46,7 +46,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(ole); * * This dll is the 16 bit version of the Typelib API, part the original * implementation of Ole automation. It and its companion ole2disp.dll were - * superceeded by oleaut32.dll which provides 32 bit implementations of these + * superseded by oleaut32.dll which provides 32 bit implementations of these * functions and greatly extends the Ole Api. * * Winelib developers cannot use these functions directly, they are implemented diff --git a/dlls/oleaut32/variant.c b/dlls/oleaut32/variant.c index ce3d302755d..c23a7d1d88b 100644 --- a/dlls/oleaut32/variant.c +++ b/dlls/oleaut32/variant.c @@ -418,7 +418,7 @@ static BOOL TmToDATE( struct tm* pTm, DATE *pDateOut ) *pDateOut += pTm->tm_mday; /* Add the number of seconds, minutes, and hours - * to the DATE. Note these are the fracionnal part + * to the DATE. Note these are the fractional part * of the DATE so seconds / number of seconds in a day. */ } else { diff --git a/dlls/shell32/tests/shlfileop.c b/dlls/shell32/tests/shlfileop.c index aa2cbc860ce..03f1f5c2a13 100644 --- a/dlls/shell32/tests/shlfileop.c +++ b/dlls/shell32/tests/shlfileop.c @@ -288,7 +288,7 @@ void test_copy(void) ok(!file_exists(".\\testdir2\\test2.txt"), "The file is not copied yet"); retval = SHFileOperationA(&shfo); if (!retval) - /* Win 95/NT returns success but copies only the files up to the nonexisting source */ + /* Win 95/NT returns success but copies only the files up to the non-existent source */ ok(file_exists(".\\testdir2\\test1.txt"), "The file is not copied"); else { diff --git a/documentation/configuring.sgml b/documentation/configuring.sgml index d7f86dc0b68..66633871dca 100644 --- a/documentation/configuring.sgml +++ b/documentation/configuring.sgml @@ -69,8 +69,8 @@ directories before attempting to load them. While Wine is able to load its own internal DLLs (.so files) when the program - asks for a DLL, Wine does not simulate the existence of - nonexisting files. + asks for a DLL, Wine does not simulate the presence of + non-existent files. diff --git a/include/ddraw.h b/include/ddraw.h index ba42399d2cb..3d7c275ba85 100644 --- a/include/ddraw.h +++ b/include/ddraw.h @@ -395,7 +395,7 @@ typedef struct _DDCAPS_DX7 /* DirectX 7 version of caps struct */ DWORD dwAlignSizeDest; /* dest rectangle byte size */ DWORD dwAlignStrideAlign; /* stride alignment */ DWORD dwRops[DD_ROP_SPACE]; /* ROPS supported */ - DDSCAPS ddsOldCaps; /* old DDSCAPS - superceded for DirectX6+ */ + DDSCAPS ddsOldCaps; /* old DDSCAPS - superseded for DirectX6+ */ DWORD dwMinOverlayStretch; /* minimum overlay stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */ DWORD dwMaxOverlayStretch; /* maximum overlay stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */ DWORD dwMinLiveVideoStretch; /* minimum live video stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */ @@ -456,7 +456,7 @@ typedef struct _DDCAPS_DX6 /* DirectX 6 version of caps struct */ DWORD dwAlignSizeDest; /* dest rectangle byte size */ DWORD dwAlignStrideAlign; /* stride alignment */ DWORD dwRops[DD_ROP_SPACE]; /* ROPS supported */ - DDSCAPS ddsOldCaps; /* old DDSCAPS - superceded for DirectX6+ */ + DDSCAPS ddsOldCaps; /* old DDSCAPS - superseded for DirectX6+ */ DWORD dwMinOverlayStretch; /* minimum overlay stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */ DWORD dwMaxOverlayStretch; /* maximum overlay stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */ DWORD dwMinLiveVideoStretch; /* minimum live video stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */