Commit 95ae71f3 authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

Assorted spelling/grammar fixes.

parent 6930012f
...@@ -1030,7 +1030,7 @@ HRESULT WINAPI D3DXGetImageInfoFromResourceW(HMODULE module, const WCHAR *resour ...@@ -1030,7 +1030,7 @@ HRESULT WINAPI D3DXGetImageInfoFromResourceW(HMODULE module, const WCHAR *resour
* *
* RETURNS * RETURNS
* Success: D3D_OK * Success: D3D_OK
* Failure: D3DERR_INVALIDCALL, if pDestSurface or pSrcData or SrcDataSize are NULL * Failure: D3DERR_INVALIDCALL, if pDestSurface, pSrcData or SrcDataSize is NULL
* D3DXERR_INVALIDDATA, if pSrcData is no valid image file * D3DXERR_INVALIDDATA, if pSrcData is no valid image file
* *
*/ */
...@@ -1720,7 +1720,7 @@ void point_filter_argb_pixels(const BYTE *src, UINT src_row_pitch, UINT src_slic ...@@ -1720,7 +1720,7 @@ void point_filter_argb_pixels(const BYTE *src, UINT src_row_pitch, UINT src_slic
* RETURNS * RETURNS
* Success: D3D_OK, if we successfully load the pixel data into our surface or * Success: D3D_OK, if we successfully load the pixel data into our surface or
* if pSrcMemory is NULL but the other parameters are valid * if pSrcMemory is NULL but the other parameters are valid
* Failure: D3DERR_INVALIDCALL, if pDestSurface, SrcPitch or pSrcRect are NULL or * Failure: D3DERR_INVALIDCALL, if pDestSurface, SrcPitch or pSrcRect is NULL or
* if SrcFormat is an invalid format (other than D3DFMT_UNKNOWN) or * if SrcFormat is an invalid format (other than D3DFMT_UNKNOWN) or
* if DestRect is invalid * if DestRect is invalid
* D3DXERR_INVALIDDATA, if we fail to lock pDestSurface * D3DXERR_INVALIDDATA, if we fail to lock pDestSurface
...@@ -1871,7 +1871,7 @@ HRESULT WINAPI D3DXLoadSurfaceFromMemory(IDirect3DSurface9 *dst_surface, ...@@ -1871,7 +1871,7 @@ HRESULT WINAPI D3DXLoadSurfaceFromMemory(IDirect3DSurface9 *dst_surface,
* *
* RETURNS * RETURNS
* Success: D3D_OK * Success: D3D_OK
* Failure: D3DERR_INVALIDCALL, if pDestSurface or pSrcSurface are NULL * Failure: D3DERR_INVALIDCALL, if pDestSurface or pSrcSurface is NULL
* D3DXERR_INVALIDDATA, if one of the surfaces is not lockable * D3DXERR_INVALIDDATA, if one of the surfaces is not lockable
* *
*/ */
......
...@@ -67,7 +67,7 @@ struct _reg_driver ...@@ -67,7 +67,7 @@ struct _reg_driver
static reg_driver* reg_driver_list = NULL; static reg_driver* reg_driver_list = NULL;
/* This one is a macro such that it works for both ASCII and Unicode */ /* This one is a macro in order to work for both ASCII and Unicode */
#define fourcc_to_string(str, fcc) do { \ #define fourcc_to_string(str, fcc) do { \
(str)[0] = LOBYTE(LOWORD(fcc)); \ (str)[0] = LOBYTE(LOWORD(fcc)); \
(str)[1] = HIBYTE(LOWORD(fcc)); \ (str)[1] = HIBYTE(LOWORD(fcc)); \
......
...@@ -2077,7 +2077,7 @@ HRESULT WINAPI CompareSecurityIds(BYTE *secid1, DWORD size1, BYTE *secid2, DWORD ...@@ -2077,7 +2077,7 @@ HRESULT WINAPI CompareSecurityIds(BYTE *secid1, DWORD size1, BYTE *secid2, DWORD
/******************************************************************** /********************************************************************
* IsInternetESCEnabledLocal (URLMON.108) * IsInternetESCEnabledLocal (URLMON.108)
* *
* Undocumented, returns if IE is running in Enhanced Security Configuration. * Undocumented, returns TRUE if IE is running in Enhanced Security Configuration.
*/ */
BOOL WINAPI IsInternetESCEnabledLocal(void) BOOL WINAPI IsInternetESCEnabledLocal(void)
{ {
......
...@@ -4583,7 +4583,7 @@ typedef struct _invalid_uri { ...@@ -4583,7 +4583,7 @@ typedef struct _invalid_uri {
static const invalid_uri invalid_uri_tests[] = { static const invalid_uri invalid_uri_tests[] = {
/* Has to have a scheme name. */ /* Has to have a scheme name. */
{"://www.winehq.org",0,FALSE}, {"://www.winehq.org",0,FALSE},
/* Window's doesn't like URI's which are implicitly file paths without the /* Windows doesn't like URIs which are implicitly file paths without the
* ALLOW_IMPLICIT_FILE_SCHEME flag set. * ALLOW_IMPLICIT_FILE_SCHEME flag set.
*/ */
{"C:/test/test.mp3",0,FALSE}, {"C:/test/test.mp3",0,FALSE},
......
...@@ -99,7 +99,7 @@ typedef struct _tagAFM { ...@@ -99,7 +99,7 @@ typedef struct _tagAFM {
const AFMMETRICS *Metrics; const AFMMETRICS *Metrics;
} AFM; } AFM;
/* Note no 'next' in AFM. Use AFMLISTENTRY as a container. This allow more than /* Note no 'next' in AFM. Use AFMLISTENTRY as a container. This allows more than
one list to exist without having to reallocate the entire AFM structure. We one list to exist without having to reallocate the entire AFM structure. We
keep a global list of all afms (PSDRV_AFMFontList) plus a list of available keep a global list of all afms (PSDRV_AFMFontList) plus a list of available
fonts for each DC (dc->physDev->Fonts) */ fonts for each DC (dc->physDev->Fonts) */
......
...@@ -4758,7 +4758,7 @@ int WINAPI WS_setsockopt(SOCKET s, int level, int optname, ...@@ -4758,7 +4758,7 @@ int WINAPI WS_setsockopt(SOCKET s, int level, int optname,
switch(optname) switch(optname)
{ {
/* Some options need some conversion before they can be sent to /* Some options need some conversion before they can be sent to
* setsockopt. The conversions are done here, then they will fall though * setsockopt. The conversions are done here, then they will fall through
* to the general case. Special options that are not passed to * to the general case. Special options that are not passed to
* setsockopt follow below that.*/ * setsockopt follow below that.*/
......
...@@ -874,7 +874,7 @@ void WCMD_copy(WCHAR * args) { ...@@ -874,7 +874,7 @@ void WCMD_copy(WCHAR * args) {
if (thiscopy->binarycopy == -1) thiscopy->binarycopy = !anyconcats; if (thiscopy->binarycopy == -1) thiscopy->binarycopy = !anyconcats;
/* Convert to fully qualified path/filename in srcpath, file filenamepart pointing /* Convert to fully qualified path/filename in srcpath, file filenamepart pointing
to where the filename portion begins (used for wildcart expansion. */ to where the filename portion begins (used for wildcard expansion). */
GetFullPathNameW(thiscopy->name, sizeof(srcpath)/sizeof(WCHAR), srcpath, &filenamepart); GetFullPathNameW(thiscopy->name, sizeof(srcpath)/sizeof(WCHAR), srcpath, &filenamepart);
WINE_TRACE("Full src name is '%s'\n", wine_dbgstr_w(srcpath)); WINE_TRACE("Full src name is '%s'\n", wine_dbgstr_w(srcpath));
......
...@@ -1605,8 +1605,8 @@ void WCMD_execute (const WCHAR *command, const WCHAR *redirects, ...@@ -1605,8 +1605,8 @@ void WCMD_execute (const WCHAR *command, const WCHAR *redirects,
case WCMD_FOR: case WCMD_FOR:
case WCMD_IF: case WCMD_IF:
/* Very oddly, probably because of all the special parsing required for /* Very oddly, probably because of all the special parsing required for
these two commands, neither for nor if are supported when called, these two commands, neither 'for' nor 'if' is supported when called,
ie call if 1==1... will fail. */ i.e. 'call if 1==1...' will fail. */
if (!retrycall) { if (!retrycall) {
if (i==WCMD_FOR) WCMD_for (p, cmdList); if (i==WCMD_FOR) WCMD_for (p, cmdList);
else if (i==WCMD_IF) WCMD_if (p, cmdList); else if (i==WCMD_IF) WCMD_if (p, cmdList);
......
...@@ -521,7 +521,7 @@ sub process_comment_text($) ...@@ -521,7 +521,7 @@ sub process_comment_text($)
s/\[I\]|\[i\]|\[in\]|\[IN\]/\[In\] /g; s/\[I\]|\[i\]|\[in\]|\[IN\]/\[In\] /g;
s/\[O\]|\[o\]|\[out\]|\[OUT\]/\[Out\]/g; s/\[O\]|\[o\]|\[out\]|\[OUT\]/\[Out\]/g;
s/\[I\/O\]|\[I\,O\]|\[i\/o\]|\[in\/out\]|\[IN\/OUT\]/\[In\/Out\]/g; s/\[I\/O\]|\[I\,O\]|\[i\/o\]|\[in\/out\]|\[IN\/OUT\]/\[In\/Out\]/g;
# TRUE/FALSE/NULL are defines, capitilise them # TRUE/FALSE/NULL are defines, capitalise them
s/True|true/TRUE/g; s/True|true/TRUE/g;
s/False|false/FALSE/g; s/False|false/FALSE/g;
s/Null|null/NULL/g; s/Null|null/NULL/g;
......
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