mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 04:11:01 +00:00
Spelling fixes.
This commit is contained in:
parent
f95a849a28
commit
cb2274e690
|
@ -1670,7 +1670,7 @@ BOOL WINAPI PlayEnhMetaFileRecord(
|
|||
LPVOID lpPackedStruct;
|
||||
|
||||
/* 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
|
||||
|| lpCreate->offBits + lpCreate->cbBits > mr->nSize
|
||||
|
|
|
@ -2418,7 +2418,7 @@ BOOL WINAPI CreateScalableFontResourceW( DWORD fHidden,
|
|||
debugstr_w(lpszCurrentPath) );
|
||||
|
||||
/* fHidden=1 - only visible for the calling app, read-only, not
|
||||
* enumbered with EnumFonts/EnumFontFamilies
|
||||
* enumerated with EnumFonts/EnumFontFamilies
|
||||
* lpszCurrentPath can be NULL
|
||||
*/
|
||||
|
||||
|
|
|
@ -1603,7 +1603,7 @@ static void test_GetDIBits_BI_BITFIELDS(void)
|
|||
* http://www.lesher.ws/highcolor.html
|
||||
* http://www.lesher.ws/vidfmt.c
|
||||
* 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)];
|
||||
LPBITMAPINFO dibinfo = (LPBITMAPINFO) dibinfo_buf;
|
||||
|
|
|
@ -179,7 +179,7 @@ GpStatus WINGDIPAPI GdipAddPathEllipse(GpPath *path, REAL x, REAL y, REAL width,
|
|||
memset(&path->pathdata.Types[old_count + 1], PathPointTypeBezier,
|
||||
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 + MAX_ARC_PTS - 1] |= PathPointTypeCloseSubpath;
|
||||
path->newfigure = TRUE;
|
||||
|
|
|
@ -82,7 +82,7 @@ struct tagActiveDS
|
|||
GPContext *context;
|
||||
#endif
|
||||
|
||||
/* Capabiblities */
|
||||
/* Capabilities */
|
||||
TW_UINT32 capXferMech; /* ICAP_XFERMECH */
|
||||
TW_UINT16 pixeltype; /* ICAP_PIXELTYPE */
|
||||
TW_UINT16 pixelflavor; /* ICAP_PIXELFLAVOR */
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
#include "icmpapi.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
|
||||
#define BIG_ENDIAN 4321
|
||||
#endif
|
||||
|
|
|
@ -711,7 +711,7 @@ static LRESULT ADPCM_StreamOpen(PACMDRVSTREAMINSTANCE adsi)
|
|||
|
||||
/* we check that in a block, after the header, samples are present on
|
||||
* 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) / 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
|
||||
* 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) / 2) + 4) * adsi->pwfxDst->nChannels < adsi->pwfxDst->nBlockAlign)
|
||||
|
|
|
@ -73,7 +73,7 @@ char *getInterfaceNameByIndex(DWORD index, char *name);
|
|||
*/
|
||||
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.
|
||||
* 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
|
||||
|
|
|
@ -1769,7 +1769,7 @@ DWORD WINAPI GetUniDirectionalAdapterInfo(PIP_UNIDIRECTIONAL_ADAPTER_ADDRESS pIP
|
|||
/******************************************************************
|
||||
* IpReleaseAddress (IPHLPAPI.@)
|
||||
*
|
||||
* Release an IP optained through DHCP,
|
||||
* Release an IP obtained through DHCP,
|
||||
*
|
||||
* PARAMS
|
||||
* 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.
|
||||
*
|
||||
* PARAMS
|
||||
* Handle [Out] handle useable in asynchronus notification
|
||||
* Handle [Out] handle usable in asynchronous notification
|
||||
* overlapped [In] overlapped structure that notifies the caller
|
||||
*
|
||||
* RETURNS
|
||||
|
|
|
@ -1162,7 +1162,7 @@ static Int64 _chm_decompress_block(struct chmFile *h,
|
|||
Int64 cmpLen; /* compressed len */
|
||||
int indexSlot; /* cache index slot */
|
||||
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 */
|
||||
|
||||
/* let the caching system pull its weight! */
|
||||
|
|
|
@ -174,7 +174,7 @@ SNOOP16_GetProcAddress16(HMODULE16 hmod,DWORD ordinal,FARPROC16 origfun) {
|
|||
|
||||
if (!TRACE_ON(snoop) || !pModule || !HIWORD(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;
|
||||
while (dll) {
|
||||
if (hmod == dll->hmod)
|
||||
|
|
|
@ -859,7 +859,7 @@ static void test_GetTempPathW(char* tmp_dir)
|
|||
|
||||
/* This one is different from ANSI version: ANSI version doesn't
|
||||
* 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
|
||||
* '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
|
||||
|
|
|
@ -391,7 +391,7 @@ BOOL WINAPI SetSystemTimeAdjustment( DWORD dwTimeAdjustment, BOOL bTimeAdjustmen
|
|||
* TIME_ZONE_ID_INVALID An error occurred
|
||||
* TIME_ZONE_ID_UNKNOWN There are no transition time known
|
||||
* 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 )
|
||||
{
|
||||
|
|
|
@ -394,7 +394,7 @@ static BOOL WINAPI fpGetPrinterDriverDirectory(LPWSTR pName, LPWSTR pEnvironment
|
|||
* myAddPrinterDriverEx [internal]
|
||||
*
|
||||
* 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)
|
||||
|
|
Loading…
Reference in a new issue