Assorted spelling fixes.
This commit is contained in:
parent
32457b4f5a
commit
3bb5b093e8
|
@ -159,7 +159,7 @@ HRESULT FindChunkAndKeepExtras(LPEXTRACHUNKS extra,HMMIO hmmio,MMCKINFO *lpck,
|
||||||
TRACE("({%p,%lu},%p,%p,%p,0x%X)\n", extra->lp, extra->cb, hmmio, lpck,
|
TRACE("({%p,%lu},%p,%p,%p,0x%X)\n", extra->lp, extra->cb, hmmio, lpck,
|
||||||
lpckParent, flags);
|
lpckParent, flags);
|
||||||
|
|
||||||
/* what chunk id and form/list type shoiuld we search? */
|
/* what chunk id and form/list type should we search? */
|
||||||
if (flags & MMIO_FINDCHUNK) {
|
if (flags & MMIO_FINDCHUNK) {
|
||||||
ckid = lpck->ckid;
|
ckid = lpck->ckid;
|
||||||
fccType = 0;
|
fccType = 0;
|
||||||
|
|
|
@ -430,7 +430,7 @@ static BOOL DoTest3(void)
|
||||||
imldp.himl = himl;
|
imldp.himl = himl;
|
||||||
if (!pImageList_DrawIndirect(&imldp))
|
if (!pImageList_DrawIndirect(&imldp))
|
||||||
{
|
{
|
||||||
/* Earlier versions of native commctl32 use a smaller structure */
|
/* Earlier versions of native comctl32 use a smaller structure */
|
||||||
imldp.cbSize -= 3 * sizeof(DWORD);
|
imldp.cbSize -= 3 * sizeof(DWORD);
|
||||||
ok(pImageList_DrawIndirect(&imldp),"DrawIndirect should succeed\n");
|
ok(pImageList_DrawIndirect(&imldp),"DrawIndirect should succeed\n");
|
||||||
}
|
}
|
||||||
|
@ -501,7 +501,7 @@ static void testMerge()
|
||||||
check_bits(hwnd, hmerge, 0, 32, empty_bits, "merge himl1,0");
|
check_bits(hwnd, hmerge, 0, 32, empty_bits, "merge himl1,0");
|
||||||
if (hmerge) ImageList_Destroy(hmerge);
|
if (hmerge) ImageList_Destroy(hmerge);
|
||||||
|
|
||||||
/* Same happend if himl2 is empty */
|
/* Same happens if himl2 is empty */
|
||||||
ImageList_Destroy(himl2);
|
ImageList_Destroy(himl2);
|
||||||
himl2 = ImageList_Create(32,32,0,0,3);
|
himl2 = ImageList_Create(32,32,0,0,3);
|
||||||
ok(himl2 != NULL,"failed to recreate himl2\n");
|
ok(himl2 != NULL,"failed to recreate himl2\n");
|
||||||
|
|
|
@ -3837,7 +3837,7 @@ static void d3ddevice_unlock_update(IDirectDrawSurfaceImpl* This, LPCRECT pRect)
|
||||||
if (buffer_type == WINE_GL_BUFFER_FRONT) {
|
if (buffer_type == WINE_GL_BUFFER_FRONT) {
|
||||||
GLenum prev_draw;
|
GLenum prev_draw;
|
||||||
|
|
||||||
TRACE(" flushing front buffer immediatly on screen.\n");
|
TRACE(" flushing front buffer immediately on screen.\n");
|
||||||
|
|
||||||
ENTER_GL();
|
ENTER_GL();
|
||||||
glGetIntegerv(GL_DRAW_BUFFER, &prev_draw);
|
glGetIntegerv(GL_DRAW_BUFFER, &prev_draw);
|
||||||
|
|
|
@ -965,7 +965,7 @@ BOOL WINAPI LocalUnlock(
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
* AllocMappedBuffer (KERNEL32.38)
|
* AllocMappedBuffer (KERNEL32.38)
|
||||||
*
|
*
|
||||||
* This is a undocumented KERNEL32 function that
|
* This is an undocumented KERNEL32 function that
|
||||||
* SMapLS's a GlobalAlloc'ed buffer.
|
* SMapLS's a GlobalAlloc'ed buffer.
|
||||||
*
|
*
|
||||||
* Input: EDI register: size of buffer to allocate
|
* Input: EDI register: size of buffer to allocate
|
||||||
|
|
|
@ -516,7 +516,7 @@ void WINAPI CoUninitialize(void)
|
||||||
|
|
||||||
/* disconnect proxies to release the corresponding stubs.
|
/* disconnect proxies to release the corresponding stubs.
|
||||||
* It is confirmed in "Essential COM" in the sub-chapter on
|
* It is confirmed in "Essential COM" in the sub-chapter on
|
||||||
* "Lifecycle Management and Marshaling" that the native version also
|
* "Lifecycle Management and Marshalling" that the native version also
|
||||||
* does some kind of proxy cleanup in this function.
|
* does some kind of proxy cleanup in this function.
|
||||||
* FIXME: does it just disconnect or completely destroy the proxies?
|
* FIXME: does it just disconnect or completely destroy the proxies?
|
||||||
* FIXME: should this be in the apartment destructor? */
|
* FIXME: should this be in the apartment destructor? */
|
||||||
|
|
|
@ -591,11 +591,11 @@ int WINAPI SHCreateDirectoryExW(HWND hWnd, LPCWSTR path, LPSECURITY_ATTRIBUTES s
|
||||||
|
|
||||||
if (*pSlash)
|
if (*pSlash)
|
||||||
{
|
{
|
||||||
*pSlash = 0; /* terminate path at seperator */
|
*pSlash = 0; /* terminate path at separator */
|
||||||
|
|
||||||
ret = SHNotifyCreateDirectoryW(szTemp, pSlash + 1 == pEnd ? sec : NULL);
|
ret = SHNotifyCreateDirectoryW(szTemp, pSlash + 1 == pEnd ? sec : NULL);
|
||||||
}
|
}
|
||||||
*pSlash++ = '\\'; /* put the seperator back */
|
*pSlash++ = '\\'; /* put the separator back */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -74,7 +74,7 @@ HRESULT WINAPI IWineD3DDeviceImpl_CreateStateBlock(IWineD3DDevice* iface, D3DSTA
|
||||||
/* Special case - Used during initialization to produce a placeholder stateblock
|
/* Special case - Used during initialization to produce a placeholder stateblock
|
||||||
so other functions called can update a state block */
|
so other functions called can update a state block */
|
||||||
if (Type == (D3DSTATEBLOCKTYPE) 0) {
|
if (Type == (D3DSTATEBLOCKTYPE) 0) {
|
||||||
/* Dont bother increasing the reference count otherwise a device will never
|
/* Don't bother increasing the reference count otherwise a device will never
|
||||||
be freed due to circular dependencies */
|
be freed due to circular dependencies */
|
||||||
return D3D_OK;
|
return D3D_OK;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1283,7 +1283,7 @@ HRESULT WINAPI IWineD3DImpl_GetDeviceCaps(IWineD3D *iface, UINT Adapter, D3DDEVT
|
||||||
The following fields apply to d3d9 only
|
The following fields apply to d3d9 only
|
||||||
------------------------------------------------ */
|
------------------------------------------------ */
|
||||||
if (This->dxVersion > 8) {
|
if (This->dxVersion > 8) {
|
||||||
FIXME("Caps support for directx9 is non-existant at the moment!\n");
|
FIXME("Caps support for directx9 is non-existent at the moment!\n");
|
||||||
pCaps->DevCaps2 = 0;
|
pCaps->DevCaps2 = 0;
|
||||||
pCaps->MaxNpatchTessellationLevel = 0;
|
pCaps->MaxNpatchTessellationLevel = 0;
|
||||||
pCaps->MasterAdapterOrdinal = 0;
|
pCaps->MasterAdapterOrdinal = 0;
|
||||||
|
@ -1465,7 +1465,7 @@ HRESULT WINAPI IWineD3DImpl_CreateDevice(IWineD3D *iface, UINT Adapter, D3DDEV
|
||||||
object->presentParms.FullScreen_RefreshRateInHz = *(pPresentationParameters->FullScreen_RefreshRateInHz);
|
object->presentParms.FullScreen_RefreshRateInHz = *(pPresentationParameters->FullScreen_RefreshRateInHz);
|
||||||
object->presentParms.PresentationInterval = *(pPresentationParameters->PresentationInterval);
|
object->presentParms.PresentationInterval = *(pPresentationParameters->PresentationInterval);
|
||||||
|
|
||||||
/* Creating the startup stateBlock - Note Special Case: 0 => Dont fill in yet! */
|
/* Creating the startup stateBlock - Note Special Case: 0 => Don't fill in yet! */
|
||||||
IWineD3DDevice_CreateStateBlock((IWineD3DDevice *)object,
|
IWineD3DDevice_CreateStateBlock((IWineD3DDevice *)object,
|
||||||
(D3DSTATEBLOCKTYPE) 0,
|
(D3DSTATEBLOCKTYPE) 0,
|
||||||
(IWineD3DStateBlock **)&object->stateBlock);
|
(IWineD3DStateBlock **)&object->stateBlock);
|
||||||
|
|
|
@ -50,8 +50,8 @@
|
||||||
* Note:
|
* Note:
|
||||||
* - Most of the file related functions are wrong. NT's kernel32
|
* - Most of the file related functions are wrong. NT's kernel32
|
||||||
* doesn't maintain a per drive current directory, while DOS does.
|
* doesn't maintain a per drive current directory, while DOS does.
|
||||||
* We should in fact keep track in here of those per driver
|
* We should in fact keep track in here of those per drive
|
||||||
* directories, and use this infro while dealing with partial paths
|
* directories, and use this info while dealing with partial paths
|
||||||
* (drive defined, but only relative paths). This could even be
|
* (drive defined, but only relative paths). This could even be
|
||||||
* created as an array of CDS (there should be an entry for that in
|
* created as an array of CDS (there should be an entry for that in
|
||||||
* the LOL)
|
* the LOL)
|
||||||
|
|
Loading…
Reference in New Issue