Assorted spelling fixes.
This commit is contained in:
parent
d3d3aba3a3
commit
ef998ea6cb
|
@ -342,14 +342,14 @@ static void test_query_value_ex(void)
|
||||||
|
|
||||||
type = 0xdeadbeef;
|
type = 0xdeadbeef;
|
||||||
size = 0xdeadbeef;
|
size = 0xdeadbeef;
|
||||||
ret = RegQueryValueExA(HKEY_CLASSES_ROOT, "Non Existent Value", NULL, &type, NULL, &size);
|
ret = RegQueryValueExA(HKEY_CLASSES_ROOT, "Nonexistent Value", NULL, &type, NULL, &size);
|
||||||
ok(ret == ERROR_FILE_NOT_FOUND, "expected ERROR_FILE_NOT_FOUND, got %d\n", ret);
|
ok(ret == ERROR_FILE_NOT_FOUND, "expected ERROR_FILE_NOT_FOUND, got %d\n", ret);
|
||||||
ok(size == 0, "size should have been set to 0 instead of %d\n", size);
|
ok(size == 0, "size should have been set to 0 instead of %d\n", size);
|
||||||
ok(type == (DWORD)HKEY_CLASSES_ROOT /* NT */ || type == 0 /* Win9x */,
|
ok(type == (DWORD)HKEY_CLASSES_ROOT /* NT */ || type == 0 /* Win9x */,
|
||||||
"type should have been set to 0x80000000 or 0 instead of 0x%x\n", type);
|
"type should have been set to 0x80000000 or 0 instead of 0x%x\n", type);
|
||||||
|
|
||||||
size = sizeof(buffer);
|
size = sizeof(buffer);
|
||||||
ret = RegQueryValueExA(HKEY_CLASSES_ROOT, "Non Existent Value", NULL, &type, buffer, &size);
|
ret = RegQueryValueExA(HKEY_CLASSES_ROOT, "Nonexistent Value", NULL, &type, buffer, &size);
|
||||||
ok(ret == ERROR_FILE_NOT_FOUND, "expected ERROR_FILE_NOT_FOUND, got %d\n", ret);
|
ok(ret == ERROR_FILE_NOT_FOUND, "expected ERROR_FILE_NOT_FOUND, got %d\n", ret);
|
||||||
ok(size == sizeof(buffer), "size shouldn't have been changed to %d\n", size);
|
ok(size == sizeof(buffer), "size shouldn't have been changed to %d\n", size);
|
||||||
}
|
}
|
||||||
|
|
|
@ -219,7 +219,7 @@ static INT_PTR fdi_notify_extract(FDINOTIFICATIONTYPE fdint, PFDINOTIFICATION pf
|
||||||
if ((pDestination->flags & EXTRACT_EXTRACTFILES) ||
|
if ((pDestination->flags & EXTRACT_EXTRACTFILES) ||
|
||||||
file_in_list(pDestination->filterlist, pfdin->psz1))
|
file_in_list(pDestination->filterlist, pfdin->psz1))
|
||||||
{
|
{
|
||||||
/* skip this file it it's not in the file list */
|
/* skip this file if it is not in the file list */
|
||||||
if (!file_in_list(pDestination->filelist, pfdin->psz1))
|
if (!file_in_list(pDestination->filelist, pfdin->psz1))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
|
|
@ -532,7 +532,7 @@ HGLOBAL WINAPI GlobalHandle(
|
||||||
{
|
{
|
||||||
handle = 0;
|
handle = 0;
|
||||||
|
|
||||||
/* note that if pmem is a pointer to a a block allocated by */
|
/* note that if pmem is a pointer to a block allocated by */
|
||||||
/* GlobalAlloc with GMEM_MOVEABLE then magic test in HeapValidate */
|
/* GlobalAlloc with GMEM_MOVEABLE then magic test in HeapValidate */
|
||||||
/* will fail. */
|
/* will fail. */
|
||||||
if (ISPOINTER(pmem)) {
|
if (ISPOINTER(pmem)) {
|
||||||
|
|
|
@ -54,7 +54,7 @@
|
||||||
|
|
||||||
/* Funny thing is lcms.h defines DWORD as an 'unsigned long' whereas Wine
|
/* Funny thing is lcms.h defines DWORD as an 'unsigned long' whereas Wine
|
||||||
* defines it as an 'unsigned int'. To avoid compiler warnings we use a
|
* defines it as an 'unsigned int'. To avoid compiler warnings we use a
|
||||||
* preprocessor define for DWORD and LPDWORD to get back Wine's orginal
|
* preprocessor define for DWORD and LPDWORD to get back Wine's original
|
||||||
* (typedef) definitions.
|
* (typedef) definitions.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -202,7 +202,7 @@ static inline void W16(unsigned char* dst, short s)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define SIGN_BIT (0x80) /* Sign bit for a A-law byte. */
|
#define SIGN_BIT (0x80) /* Sign bit for an A-law byte. */
|
||||||
#define QUANT_MASK (0xf) /* Quantization field mask. */
|
#define QUANT_MASK (0xf) /* Quantization field mask. */
|
||||||
#define NSEGS (8) /* Number of A-law segments. */
|
#define NSEGS (8) /* Number of A-law segments. */
|
||||||
#define SEG_SHIFT (4) /* Left shift for segment number. */
|
#define SEG_SHIFT (4) /* Left shift for segment number. */
|
||||||
|
|
|
@ -679,7 +679,7 @@ HRESULT WINAPI CoInitialize(LPVOID lpReserved)
|
||||||
*
|
*
|
||||||
* The behavior used to set the IMalloc used for memory management is
|
* The behavior used to set the IMalloc used for memory management is
|
||||||
* obsolete.
|
* obsolete.
|
||||||
* The dwCoInit parameter must specify of of the following apartment
|
* The dwCoInit parameter must specify one of the following apartment
|
||||||
* threading models:
|
* threading models:
|
||||||
*| COINIT_APARTMENTTHREADED - A single-threaded apartment (STA).
|
*| COINIT_APARTMENTTHREADED - A single-threaded apartment (STA).
|
||||||
*| COINIT_MULTITHREADED - A multi-threaded apartment (MTA).
|
*| COINIT_MULTITHREADED - A multi-threaded apartment (MTA).
|
||||||
|
|
|
@ -52,7 +52,7 @@ static BSTR WINAPI ERRORINFO_SysAllocString(const OLECHAR* in)
|
||||||
if (in == NULL)
|
if (in == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
/*
|
/*
|
||||||
* Find the lenth of the buffer passed-in in bytes.
|
* Find the length of the buffer passed-in, in bytes.
|
||||||
*/
|
*/
|
||||||
len = strlenW(in);
|
len = strlenW(in);
|
||||||
bufferSize = len * sizeof (WCHAR);
|
bufferSize = len * sizeof (WCHAR);
|
||||||
|
|
|
@ -1109,7 +1109,7 @@ static HRESULT unmarshal_object(const STDOBJREF *stdobjref, APARTMENT *apt,
|
||||||
wine_dbgstr_longlong(stdobjref->oid),
|
wine_dbgstr_longlong(stdobjref->oid),
|
||||||
debugstr_guid(&stdobjref->ipid));
|
debugstr_guid(&stdobjref->ipid));
|
||||||
|
|
||||||
/* create an a new proxy manager if one doesn't already exist for the
|
/* create a new proxy manager if one doesn't already exist for the
|
||||||
* object */
|
* object */
|
||||||
if (!find_proxy_manager(apt, stdobjref->oxid, stdobjref->oid, &proxy_manager))
|
if (!find_proxy_manager(apt, stdobjref->oxid, stdobjref->oid, &proxy_manager))
|
||||||
{
|
{
|
||||||
|
|
|
@ -2533,13 +2533,13 @@ BSTR WINAPI PropSysAllocString(LPCOLESTR str)
|
||||||
|
|
||||||
len = lstrlenW(str);
|
len = lstrlenW(str);
|
||||||
/*
|
/*
|
||||||
* Find the length of the buffer passed-in in bytes.
|
* Find the length of the buffer passed-in, in bytes.
|
||||||
*/
|
*/
|
||||||
bufferSize = len * sizeof (WCHAR);
|
bufferSize = len * sizeof (WCHAR);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Allocate a new buffer to hold the string.
|
* Allocate a new buffer to hold the string.
|
||||||
* don't forget to keep an empty spot at the beginning of the
|
* Don't forget to keep an empty spot at the beginning of the
|
||||||
* buffer for the character count and an extra character at the
|
* buffer for the character count and an extra character at the
|
||||||
* end for the NULL.
|
* end for the NULL.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -586,7 +586,7 @@ static void test_storage_suminfo(void)
|
||||||
STGM_CREATE|STGM_WRITE|STGM_SHARE_EXCLUSIVE, &ps );
|
STGM_CREATE|STGM_WRITE|STGM_SHARE_EXCLUSIVE, &ps );
|
||||||
ok(r == STG_E_INVALIDFLAG, "created property set storage\n");
|
ok(r == STG_E_INVALIDFLAG, "created property set storage\n");
|
||||||
|
|
||||||
/* now try really creating a a property set */
|
/* now try really creating a property set */
|
||||||
r = IPropertySetStorage_Create( propset, &FMTID_SummaryInformation, NULL, 0,
|
r = IPropertySetStorage_Create( propset, &FMTID_SummaryInformation, NULL, 0,
|
||||||
STGM_CREATE|STGM_READWRITE|STGM_SHARE_EXCLUSIVE, &ps );
|
STGM_CREATE|STGM_READWRITE|STGM_SHARE_EXCLUSIVE, &ps );
|
||||||
ok(r == S_OK, "failed to create property set storage\n");
|
ok(r == S_OK, "failed to create property set storage\n");
|
||||||
|
|
|
@ -357,7 +357,7 @@ static HRESULT WINAPI StdDispatch_GetTypeInfo(LPDISPATCH iface, UINT iTInfo, LCI
|
||||||
* Success: S_OK.
|
* Success: S_OK.
|
||||||
* Failure: DISP_E_UNKNOWNNAME, if any of the names is invalid.
|
* Failure: DISP_E_UNKNOWNNAME, if any of the names is invalid.
|
||||||
* DISP_E_UNKNOWNLCID if lcid is invalid.
|
* DISP_E_UNKNOWNLCID if lcid is invalid.
|
||||||
* Otherwise, an An HRESULT error code.
|
* Otherwise, an HRESULT error code.
|
||||||
*
|
*
|
||||||
* NOTES
|
* NOTES
|
||||||
* This call defers to ITypeInfo_GetIDsOfNames(), using the ITypeInfo object
|
* This call defers to ITypeInfo_GetIDsOfNames(), using the ITypeInfo object
|
||||||
|
|
|
@ -218,7 +218,7 @@ BSTR WINAPI SysAllocStringLen(const OLECHAR *str, unsigned int len)
|
||||||
WCHAR* stringBuffer;
|
WCHAR* stringBuffer;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Find the length of the buffer passed-in in bytes.
|
* Find the length of the buffer passed-in, in bytes.
|
||||||
*/
|
*/
|
||||||
bufferSize = len * sizeof (WCHAR);
|
bufferSize = len * sizeof (WCHAR);
|
||||||
|
|
||||||
|
|
|
@ -3312,7 +3312,7 @@ static ITypeLib2* ITypeLib2_Constructor_SLTG(LPVOID pLib, DWORD dwTLBLength)
|
||||||
/* Hopefully we now have enough ptrs set up to actually read in
|
/* Hopefully we now have enough ptrs set up to actually read in
|
||||||
some TypeInfos. It's not clear which order to do them in, so
|
some TypeInfos. It's not clear which order to do them in, so
|
||||||
I'll just follow the links along the BlkEntry chain and read
|
I'll just follow the links along the BlkEntry chain and read
|
||||||
them in in the order in which they're in the file */
|
them in the order in which they are in the file */
|
||||||
|
|
||||||
ppTypeInfoImpl = &(pTypeLibImpl->pTypeInfo);
|
ppTypeInfoImpl = &(pTypeLibImpl->pTypeInfo);
|
||||||
|
|
||||||
|
|
|
@ -646,10 +646,10 @@ DGifDecompressLine(GifFileType * GifFile,
|
||||||
} else
|
} else
|
||||||
CrntPrefix = CrntCode;
|
CrntPrefix = CrntCode;
|
||||||
|
|
||||||
/* Now (if image is O.K.) we should not get an NO_SUCH_CODE
|
/* Now (if image is O.K.) we should not get a NO_SUCH_CODE
|
||||||
* During the trace. As we might loop forever, in case of
|
* during the trace. As we might loop forever, in case of
|
||||||
* defective image, we count the number of loops we trace
|
* defective image, we count the number of loops we trace
|
||||||
* and stop if we got LZ_MAX_CODE. obviously we can not
|
* and stop if we got LZ_MAX_CODE. Obviously we cannot
|
||||||
* loop more than that. */
|
* loop more than that. */
|
||||||
j = 0;
|
j = 0;
|
||||||
while (j++ <= LZ_MAX_CODE &&
|
while (j++ <= LZ_MAX_CODE &&
|
||||||
|
|
|
@ -773,7 +773,7 @@ static inline size_t VARIANT_DataSize(const VARIANT* pv)
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* VariantCopyInd [OLEAUT32.11]
|
* VariantCopyInd [OLEAUT32.11]
|
||||||
*
|
*
|
||||||
* Copy a variant, dereferencing it it is by-reference.
|
* Copy a variant, dereferencing it if it is by-reference.
|
||||||
*
|
*
|
||||||
* PARAMS
|
* PARAMS
|
||||||
* pvargDest [O] Destination for copy
|
* pvargDest [O] Destination for copy
|
||||||
|
|
|
@ -156,7 +156,7 @@ static inline IShellViewImpl *impl_from_IViewObject( IViewObject *iface )
|
||||||
#define GET_WM_COMMAND_CMD(wp, lp) HIWORD(wp)
|
#define GET_WM_COMMAND_CMD(wp, lp) HIWORD(wp)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Items merged into the toolbar and and the filemenu
|
Items merged into the toolbar and the filemenu
|
||||||
*/
|
*/
|
||||||
typedef struct
|
typedef struct
|
||||||
{ int idCommand;
|
{ int idCommand;
|
||||||
|
|
|
@ -278,9 +278,9 @@ HRESULT WINAPI IWineD3DBaseTextureImpl_BindTexture(IWineD3DBaseTexture *iface) {
|
||||||
glBindTexture(textureDimensions, This->baseTexture.textureName);
|
glBindTexture(textureDimensions, This->baseTexture.textureName);
|
||||||
checkGLcall("glBindTexture");
|
checkGLcall("glBindTexture");
|
||||||
if (isNewTexture) {
|
if (isNewTexture) {
|
||||||
/* For a new texture we have to set the textures levels after binding the texture,
|
/* For a new texture we have to set the textures levels after binding the texture.
|
||||||
* in theory this is all we should ever have to dom, but because ATI's drivers are broken we
|
* In theory this is all we should ever have to do, but because ATI's drivers are broken, we
|
||||||
* also need to set the texture dimensins before the texture is is set */
|
* also need to set the texture dimensions before the texture is set */
|
||||||
TRACE("Setting GL_TEXTURE_MAX_LEVEL to %d\n", This->baseTexture.levels - 1);
|
TRACE("Setting GL_TEXTURE_MAX_LEVEL to %d\n", This->baseTexture.levels - 1);
|
||||||
glTexParameteri(textureDimensions, GL_TEXTURE_MAX_LEVEL, This->baseTexture.levels - 1);
|
glTexParameteri(textureDimensions, GL_TEXTURE_MAX_LEVEL, This->baseTexture.levels - 1);
|
||||||
checkGLcall("glTexParameteri(textureDimensions, GL_TEXTURE_MAX_LEVEL, This->baseTexture.levels)");
|
checkGLcall("glTexParameteri(textureDimensions, GL_TEXTURE_MAX_LEVEL, This->baseTexture.levels)");
|
||||||
|
|
|
@ -7365,7 +7365,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_ActiveRender(IWineD3DDevice* iface,
|
||||||
if (renderSurfaceSwapchain != NULL) {
|
if (renderSurfaceSwapchain != NULL) {
|
||||||
|
|
||||||
/* We also need to make sure that the lights &co are also in the context of the swapchains */
|
/* We also need to make sure that the lights &co are also in the context of the swapchains */
|
||||||
/* FIXME: If the render target gets sent to the frontBuffer should be be presenting it raw? */
|
/* FIXME: If the render target gets sent to the frontBuffer, should we be presenting it raw? */
|
||||||
TRACE("making swapchain active\n");
|
TRACE("making swapchain active\n");
|
||||||
if (RenderSurface != This->renderTarget) {
|
if (RenderSurface != This->renderTarget) {
|
||||||
BOOL backbuf = FALSE;
|
BOOL backbuf = FALSE;
|
||||||
|
|
|
@ -325,8 +325,8 @@ extern const float identity[16];
|
||||||
/* TODO: Confirm each of these works when wined3d move completed */
|
/* TODO: Confirm each of these works when wined3d move completed */
|
||||||
#if 0 /* NOTE: Must be 0 in cvs */
|
#if 0 /* NOTE: Must be 0 in cvs */
|
||||||
/* To avoid having to get gigabytes of trace, the following can be compiled in, and at the start
|
/* To avoid having to get gigabytes of trace, the following can be compiled in, and at the start
|
||||||
of each frame, a check is made for the existence of C:\D3DTRACE, and if if exists d3d trace
|
of each frame, a check is made for the existence of C:\D3DTRACE, and if it exists d3d trace
|
||||||
is enabled, and if it doesn't exists it is disabled. */
|
is enabled, and if it doesn't exist it is disabled. */
|
||||||
# define FRAME_DEBUGGING
|
# define FRAME_DEBUGGING
|
||||||
/* Adding in the SINGLE_FRAME_DEBUGGING gives a trace of just what makes up a single frame, before
|
/* Adding in the SINGLE_FRAME_DEBUGGING gives a trace of just what makes up a single frame, before
|
||||||
the file is deleted */
|
the file is deleted */
|
||||||
|
|
|
@ -231,7 +231,7 @@ static void CALLBACK MMDRV_MidiIn_Callback(HDRVR hDev, UINT uMsg, DWORD dwInsta
|
||||||
case MIM_DATA:
|
case MIM_DATA:
|
||||||
case MIM_MOREDATA:
|
case MIM_MOREDATA:
|
||||||
case MIM_ERROR:
|
case MIM_ERROR:
|
||||||
/* dwParam1 & dwParam2 are are data, nothing to do */
|
/* dwParam1 & dwParam2 are data, nothing to do */
|
||||||
break;
|
break;
|
||||||
case MIM_LONGDATA:
|
case MIM_LONGDATA:
|
||||||
case MIM_LONGERROR:
|
case MIM_LONGERROR:
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
* NOTES:
|
* NOTES:
|
||||||
*
|
*
|
||||||
* The basic grammar of the file is yet another example of, humpf,
|
* The basic grammar of the file is yet another example of, humpf,
|
||||||
* design. There is is mix of context-insensitive and -sentitive
|
* design. There is a mix of context-insensitive and -sensitive
|
||||||
* stuff, which makes it rather complicated.
|
* stuff, which makes it rather complicated.
|
||||||
* The header definitions are all context-insensitive because they have
|
* The header definitions are all context-insensitive because they have
|
||||||
* delimited arguments, whereas the message headers are (semi-) context-
|
* delimited arguments, whereas the message headers are (semi-) context-
|
||||||
|
|
|
@ -1408,7 +1408,7 @@ static res_t *rcdata2res(name_id_t *name, rcdata_t *rdt)
|
||||||
* Output : New .res format structure
|
* Output : New .res format structure
|
||||||
* Description :
|
* Description :
|
||||||
* Remarks : The data has been converted to the appropriate endian
|
* Remarks : The data has been converted to the appropriate endian
|
||||||
* after is was parsed.
|
* after it was parsed.
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
*/
|
*/
|
||||||
static res_t *messagetable2res(name_id_t *name, messagetable_t *msg)
|
static res_t *messagetable2res(name_id_t *name, messagetable_t *msg)
|
||||||
|
|
Loading…
Reference in New Issue