Spelling fixes.

This commit is contained in:
Austin English 2008-04-03 12:10:30 -05:00 committed by Alexandre Julliard
parent f95a849a28
commit cb2274e690
14 changed files with 16 additions and 16 deletions

View File

@ -1670,7 +1670,7 @@ BOOL WINAPI PlayEnhMetaFileRecord(
LPVOID lpPackedStruct; LPVOID lpPackedStruct;
/* Check that offsets and data are contained within the record /* Check that offsets and data are contained within the record
* (including checking for wrap arounds). * (including checking for wrap-arounds).
*/ */
if ( lpCreate->offBmi + lpCreate->cbBmi > mr->nSize if ( lpCreate->offBmi + lpCreate->cbBmi > mr->nSize
|| lpCreate->offBits + lpCreate->cbBits > mr->nSize || lpCreate->offBits + lpCreate->cbBits > mr->nSize

View File

@ -2418,7 +2418,7 @@ BOOL WINAPI CreateScalableFontResourceW( DWORD fHidden,
debugstr_w(lpszCurrentPath) ); debugstr_w(lpszCurrentPath) );
/* fHidden=1 - only visible for the calling app, read-only, not /* fHidden=1 - only visible for the calling app, read-only, not
* enumbered with EnumFonts/EnumFontFamilies * enumerated with EnumFonts/EnumFontFamilies
* lpszCurrentPath can be NULL * lpszCurrentPath can be NULL
*/ */

View File

@ -1603,7 +1603,7 @@ static void test_GetDIBits_BI_BITFIELDS(void)
* http://www.lesher.ws/highcolor.html * http://www.lesher.ws/highcolor.html
* http://www.lesher.ws/vidfmt.c * http://www.lesher.ws/vidfmt.c
* It hinges on being able to retrieve the bitmaps * It hinges on being able to retrieve the bitmaps
* for the three primary colors in nonpaletted 16 bit mode. * for the three primary colors in non-paletted 16 bit mode.
*/ */
char dibinfo_buf[sizeof(BITMAPINFOHEADER) + 256 * sizeof(RGBQUAD)]; char dibinfo_buf[sizeof(BITMAPINFOHEADER) + 256 * sizeof(RGBQUAD)];
LPBITMAPINFO dibinfo = (LPBITMAPINFO) dibinfo_buf; LPBITMAPINFO dibinfo = (LPBITMAPINFO) dibinfo_buf;

View File

@ -179,7 +179,7 @@ GpStatus WINGDIPAPI GdipAddPathEllipse(GpPath *path, REAL x, REAL y, REAL width,
memset(&path->pathdata.Types[old_count + 1], PathPointTypeBezier, memset(&path->pathdata.Types[old_count + 1], PathPointTypeBezier,
MAX_ARC_PTS - 1); MAX_ARC_PTS - 1);
/* An ellipse is an instrinsic figure (always its own subpath). */ /* An ellipse is an intrinsic figure (always is its own subpath). */
path->pathdata.Types[old_count] = PathPointTypeStart; path->pathdata.Types[old_count] = PathPointTypeStart;
path->pathdata.Types[old_count + MAX_ARC_PTS - 1] |= PathPointTypeCloseSubpath; path->pathdata.Types[old_count + MAX_ARC_PTS - 1] |= PathPointTypeCloseSubpath;
path->newfigure = TRUE; path->newfigure = TRUE;

View File

@ -82,7 +82,7 @@ struct tagActiveDS
GPContext *context; GPContext *context;
#endif #endif
/* Capabiblities */ /* Capabilities */
TW_UINT32 capXferMech; /* ICAP_XFERMECH */ TW_UINT32 capXferMech; /* ICAP_XFERMECH */
TW_UINT16 pixeltype; /* ICAP_PIXELTYPE */ TW_UINT16 pixeltype; /* ICAP_PIXELTYPE */
TW_UINT16 pixelflavor; /* ICAP_PIXELFLAVOR */ TW_UINT16 pixelflavor; /* ICAP_PIXELFLAVOR */

View File

@ -72,7 +72,7 @@
#include "icmpapi.h" #include "icmpapi.h"
#include "wine/debug.h" #include "wine/debug.h"
/* Set up endiannes macros for the ip and ip_icmp BSD headers */ /* Set up endianness macros for the ip and ip_icmp BSD headers */
#ifndef BIG_ENDIAN #ifndef BIG_ENDIAN
#define BIG_ENDIAN 4321 #define BIG_ENDIAN 4321
#endif #endif

View File

@ -711,7 +711,7 @@ static LRESULT ADPCM_StreamOpen(PACMDRVSTREAMINSTANCE adsi)
/* we check that in a block, after the header, samples are present on /* we check that in a block, after the header, samples are present on
* 4-sample packet pattern * 4-sample packet pattern
* we also check that the block alignement is bigger than the expected size * we also check that the block alignment is bigger than the expected size
*/ */
if (((nspb - 1) & 3) != 0) goto theEnd; if (((nspb - 1) & 3) != 0) goto theEnd;
if ((((nspb - 1) / 2) + 4) * adsi->pwfxSrc->nChannels < adsi->pwfxSrc->nBlockAlign) if ((((nspb - 1) / 2) + 4) * adsi->pwfxSrc->nChannels < adsi->pwfxSrc->nBlockAlign)
@ -736,7 +736,7 @@ static LRESULT ADPCM_StreamOpen(PACMDRVSTREAMINSTANCE adsi)
/* we check that in a block, after the header, samples are present on /* we check that in a block, after the header, samples are present on
* 4-sample packet pattern * 4-sample packet pattern
* we also check that the block alignement is bigger than the expected size * we also check that the block alignment is bigger than the expected size
*/ */
if (((nspb - 1) & 3) != 0) goto theEnd; if (((nspb - 1) & 3) != 0) goto theEnd;
if ((((nspb - 1) / 2) + 4) * adsi->pwfxDst->nChannels < adsi->pwfxDst->nBlockAlign) if ((((nspb - 1) / 2) + 4) * adsi->pwfxDst->nChannels < adsi->pwfxDst->nBlockAlign)

View File

@ -73,7 +73,7 @@ char *getInterfaceNameByIndex(DWORD index, char *name);
*/ */
DWORD getInterfaceIndexByName(const char *name, PDWORD index); DWORD getInterfaceIndexByName(const char *name, PDWORD index);
/* Gets a few physical charactersistics of a device: MAC addr len, MAC addr, /* Gets a few physical characteristics of a device: MAC addr len, MAC addr,
* and type as one of the MIB_IF_TYPEs. * and type as one of the MIB_IF_TYPEs.
* len's in-out: on in, needs to say how many bytes are available in addr, * len's in-out: on in, needs to say how many bytes are available in addr,
* which to be safe should be MAX_INTERFACE_PHYSADDR. On out, it's how many * which to be safe should be MAX_INTERFACE_PHYSADDR. On out, it's how many

View File

@ -1769,7 +1769,7 @@ DWORD WINAPI GetUniDirectionalAdapterInfo(PIP_UNIDIRECTIONAL_ADAPTER_ADDRESS pIP
/****************************************************************** /******************************************************************
* IpReleaseAddress (IPHLPAPI.@) * IpReleaseAddress (IPHLPAPI.@)
* *
* Release an IP optained through DHCP, * Release an IP obtained through DHCP,
* *
* PARAMS * PARAMS
* AdapterInfo [In] adapter to release IP address * AdapterInfo [In] adapter to release IP address
@ -1828,7 +1828,7 @@ DWORD WINAPI IpRenewAddress(PIP_ADAPTER_INDEX_MAP AdapterInfo)
* Notify caller whenever the ip-interface map is changed. * Notify caller whenever the ip-interface map is changed.
* *
* PARAMS * PARAMS
* Handle [Out] handle useable in asynchronus notification * Handle [Out] handle usable in asynchronous notification
* overlapped [In] overlapped structure that notifies the caller * overlapped [In] overlapped structure that notifies the caller
* *
* RETURNS * RETURNS

View File

@ -1162,7 +1162,7 @@ static Int64 _chm_decompress_block(struct chmFile *h,
Int64 cmpLen; /* compressed len */ Int64 cmpLen; /* compressed len */
int indexSlot; /* cache index slot */ int indexSlot; /* cache index slot */
UChar *lbuffer; /* local buffer ptr */ UChar *lbuffer; /* local buffer ptr */
UInt32 blockAlign = (UInt32)(block % h->reset_blkcount); /* reset intvl. aln. */ UInt32 blockAlign = (UInt32)(block % h->reset_blkcount); /* reset interval align */
UInt32 i; /* local loop index */ UInt32 i; /* local loop index */
/* let the caching system pull its weight! */ /* let the caching system pull its weight! */

View File

@ -174,7 +174,7 @@ SNOOP16_GetProcAddress16(HMODULE16 hmod,DWORD ordinal,FARPROC16 origfun) {
if (!TRACE_ON(snoop) || !pModule || !HIWORD(origfun)) if (!TRACE_ON(snoop) || !pModule || !HIWORD(origfun))
return origfun; return origfun;
if (!*(LPBYTE)MapSL((SEGPTR)origfun)) /* 0x00 is an imposs. opcode, poss. dataref. */ if (!*(LPBYTE)MapSL((SEGPTR)origfun)) /* 0x00 is an impossible opcode, possible dataref. */
return origfun; return origfun;
while (dll) { while (dll) {
if (hmod == dll->hmod) if (hmod == dll->hmod)

View File

@ -859,7 +859,7 @@ static void test_GetTempPathW(char* tmp_dir)
/* This one is different from ANSI version: ANSI version doesn't /* This one is different from ANSI version: ANSI version doesn't
* touch the buffer, unicode version usually truncates the buffer * touch the buffer, unicode version usually truncates the buffer
* to zero size. NT still exagerates the required buffer size * to zero size. NT still exaggerates the required buffer size
* sometimes so we cannot test for an exact match. Finally, the * sometimes so we cannot test for an exact match. Finally, the
* 'len_with_null - 1' case is so buggy on Windows it's not testable. * 'len_with_null - 1' case is so buggy on Windows it's not testable.
* For instance on NT4 it will sometimes return a path without the * For instance on NT4 it will sometimes return a path without the

View File

@ -391,7 +391,7 @@ BOOL WINAPI SetSystemTimeAdjustment( DWORD dwTimeAdjustment, BOOL bTimeAdjustmen
* TIME_ZONE_ID_INVALID An error occurred * TIME_ZONE_ID_INVALID An error occurred
* TIME_ZONE_ID_UNKNOWN There are no transition time known * TIME_ZONE_ID_UNKNOWN There are no transition time known
* TIME_ZONE_ID_STANDARD Current time is standard time * TIME_ZONE_ID_STANDARD Current time is standard time
* TIME_ZONE_ID_DAYLIGHT Current time is dayligh savings time * TIME_ZONE_ID_DAYLIGHT Current time is daylight savings time
*/ */
DWORD WINAPI GetTimeZoneInformation( LPTIME_ZONE_INFORMATION tzinfo ) DWORD WINAPI GetTimeZoneInformation( LPTIME_ZONE_INFORMATION tzinfo )
{ {

View File

@ -394,7 +394,7 @@ static BOOL WINAPI fpGetPrinterDriverDirectory(LPWSTR pName, LPWSTR pEnvironment
* myAddPrinterDriverEx [internal] * myAddPrinterDriverEx [internal]
* *
* Install a Printer Driver with the Option to upgrade / downgrade the Files * Install a Printer Driver with the Option to upgrade / downgrade the Files
* and a special mode with lazy error ckecking * and a special mode with lazy error checking.
* *
*/ */
static BOOL WINAPI myAddPrinterDriverEx(DWORD level, LPBYTE pDriverInfo, DWORD dwFileCopyFlags, BOOL lazy) static BOOL WINAPI myAddPrinterDriverEx(DWORD level, LPBYTE pDriverInfo, DWORD dwFileCopyFlags, BOOL lazy)