diff --git a/dlls/gdi32/enhmetafile.c b/dlls/gdi32/enhmetafile.c index 150b82a7f6f..39b60579213 100644 --- a/dlls/gdi32/enhmetafile.c +++ b/dlls/gdi32/enhmetafile.c @@ -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 diff --git a/dlls/gdi32/font.c b/dlls/gdi32/font.c index 952e72039cc..70a043e5fd8 100644 --- a/dlls/gdi32/font.c +++ b/dlls/gdi32/font.c @@ -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 */ diff --git a/dlls/gdi32/tests/bitmap.c b/dlls/gdi32/tests/bitmap.c index 09b628757a1..67bb27fc82e 100644 --- a/dlls/gdi32/tests/bitmap.c +++ b/dlls/gdi32/tests/bitmap.c @@ -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; diff --git a/dlls/gdiplus/graphicspath.c b/dlls/gdiplus/graphicspath.c index 69a95263063..adeaa891872 100644 --- a/dlls/gdiplus/graphicspath.c +++ b/dlls/gdiplus/graphicspath.c @@ -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; diff --git a/dlls/gphoto2.ds/gphoto2_i.h b/dlls/gphoto2.ds/gphoto2_i.h index 265da491ed5..e92a5e83ae5 100644 --- a/dlls/gphoto2.ds/gphoto2_i.h +++ b/dlls/gphoto2.ds/gphoto2_i.h @@ -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 */ diff --git a/dlls/icmp/icmp_main.c b/dlls/icmp/icmp_main.c index 8834282d5e4..82243daaaf4 100644 --- a/dlls/icmp/icmp_main.c +++ b/dlls/icmp/icmp_main.c @@ -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 diff --git a/dlls/imaadp32.acm/imaadp32.c b/dlls/imaadp32.acm/imaadp32.c index e5b1544f21f..1b44c0badd5 100644 --- a/dlls/imaadp32.acm/imaadp32.c +++ b/dlls/imaadp32.acm/imaadp32.c @@ -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) diff --git a/dlls/iphlpapi/ifenum.h b/dlls/iphlpapi/ifenum.h index 30a48e30390..775244cdc24 100644 --- a/dlls/iphlpapi/ifenum.h +++ b/dlls/iphlpapi/ifenum.h @@ -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 diff --git a/dlls/iphlpapi/iphlpapi_main.c b/dlls/iphlpapi/iphlpapi_main.c index 748a74ac8b3..764ae58dfd3 100644 --- a/dlls/iphlpapi/iphlpapi_main.c +++ b/dlls/iphlpapi/iphlpapi_main.c @@ -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 diff --git a/dlls/itss/chm_lib.c b/dlls/itss/chm_lib.c index 6a9626faeec..3b98d5e781e 100644 --- a/dlls/itss/chm_lib.c +++ b/dlls/itss/chm_lib.c @@ -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! */ diff --git a/dlls/kernel32/snoop16.c b/dlls/kernel32/snoop16.c index fb82ba9635e..210f74c3c81 100644 --- a/dlls/kernel32/snoop16.c +++ b/dlls/kernel32/snoop16.c @@ -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) diff --git a/dlls/kernel32/tests/path.c b/dlls/kernel32/tests/path.c index e3851df7cd8..44a936e0501 100644 --- a/dlls/kernel32/tests/path.c +++ b/dlls/kernel32/tests/path.c @@ -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 diff --git a/dlls/kernel32/time.c b/dlls/kernel32/time.c index cd14f9f8276..9f33af635f8 100644 --- a/dlls/kernel32/time.c +++ b/dlls/kernel32/time.c @@ -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 ) { diff --git a/dlls/localspl/localspl_main.c b/dlls/localspl/localspl_main.c index 77fb730bf37..8efb7cbb403 100644 --- a/dlls/localspl/localspl_main.c +++ b/dlls/localspl/localspl_main.c @@ -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)