Commit 56aaea2f authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Spelling fixes.

parent d10b8ebd
......@@ -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;
......
......@@ -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 */
......
......@@ -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");
......
......@@ -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:
......
......@@ -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);
......
......@@ -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;
......
......@@ -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);
......
......@@ -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)
......
......@@ -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
......
......@@ -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 {
......
......@@ -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
{
......
......@@ -69,8 +69,8 @@
directories before attempting to load them. While Wine
is able to load its own internal DLLs
(<filename>.so</filename> 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.
</para>
</listitem>
</itemizedlist>
......
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment