Assorted spelling fixes.
This commit is contained in:
parent
d8c96b08f3
commit
67aa858a31
|
@ -1717,23 +1717,23 @@ TREEVIEW_SetImageList(TREEVIEW_INFO *infoPtr, WPARAM wParam, HIMAGELIST himlNew)
|
|||
if (oldWidth != infoPtr->normalImageWidth ||
|
||||
oldHeight != infoPtr->normalImageHeight)
|
||||
{
|
||||
BOOL bRecalcVisable = FALSE;
|
||||
BOOL bRecalcVisible = FALSE;
|
||||
|
||||
if (oldHeight != infoPtr->normalImageHeight &&
|
||||
!infoPtr->bHeightSet)
|
||||
{
|
||||
infoPtr->uItemHeight = TREEVIEW_NaturalHeight(infoPtr);
|
||||
bRecalcVisable = TRUE;
|
||||
bRecalcVisible = TRUE;
|
||||
}
|
||||
|
||||
if (infoPtr->normalImageWidth > MINIMUM_INDENT &&
|
||||
infoPtr->normalImageWidth != infoPtr->uIndent)
|
||||
{
|
||||
infoPtr->uIndent = infoPtr->normalImageWidth;
|
||||
bRecalcVisable = TRUE;
|
||||
bRecalcVisible = TRUE;
|
||||
}
|
||||
|
||||
if (bRecalcVisable)
|
||||
if (bRecalcVisible)
|
||||
TREEVIEW_RecalculateVisibleOrder(infoPtr, NULL);
|
||||
|
||||
TREEVIEW_UpdateSubTree(infoPtr, infoPtr->root);
|
||||
|
|
|
@ -511,7 +511,7 @@ static HWND UPDOWN_SetBuddy (UPDOWN_INFO* infoPtr, HWND bud)
|
|||
x = budRect.right+DEFAULT_XSEP;
|
||||
}
|
||||
|
||||
/* first adjust the buddy to accomodate the up/down */
|
||||
/* first adjust the buddy to accommodate the up/down */
|
||||
SetWindowPos(infoPtr->Buddy, 0, budRect.left, budRect.top,
|
||||
budRect.right - budRect.left, budRect.bottom - budRect.top,
|
||||
SWP_NOACTIVATE|SWP_NOZORDER);
|
||||
|
@ -524,7 +524,7 @@ static HWND UPDOWN_SetBuddy (UPDOWN_INFO* infoPtr, HWND bud)
|
|||
/*
|
||||
* If the updown has a buddy border, it has to overlap with the buddy
|
||||
* to look as if it is integrated with the buddy control.
|
||||
* We nudge the control or change it size to overlap.
|
||||
* We nudge the control or change its size to overlap.
|
||||
*/
|
||||
if (UPDOWN_HasBuddyBorder(infoPtr)) {
|
||||
if(dwStyle & UDS_ALIGNLEFT)
|
||||
|
|
|
@ -480,7 +480,7 @@ static void symt_fill_sym_info(const struct module* module,
|
|||
sym_info->Flags |= SYMFLAG_LOCAL | SYMFLAG_FRAMEREL;
|
||||
else
|
||||
sym_info->Flags |= SYMFLAG_PARAMETER | SYMFLAG_FRAMEREL;
|
||||
/* FIXME: needed ? moreover, it's i386 dependant !!! */
|
||||
/* FIXME: needed ? moreover, it's i386 dependent !!! */
|
||||
sym_info->Register = CV_REG_EBP;
|
||||
sym_info->Address = data->u.s.offset;
|
||||
}
|
||||
|
|
|
@ -131,7 +131,7 @@ typedef struct DataCache DataCache;
|
|||
/*
|
||||
* Here, I define utility macros to help with the casting of the
|
||||
* "this" parameter.
|
||||
* There is a version to accomodate all of the VTables implemented
|
||||
* There is a version to accommodate all of the VTables implemented
|
||||
* by this object.
|
||||
*/
|
||||
#define _ICOM_THIS_From_IDataObject(class,name) class* this = (class*)name
|
||||
|
|
|
@ -123,7 +123,7 @@ typedef struct DefaultHandler DefaultHandler;
|
|||
/*
|
||||
* Here, I define utility macros to help with the casting of the
|
||||
* "this" parameter.
|
||||
* There is a version to accomodate all of the VTables implemented
|
||||
* There is a version to accommodate all of the VTables implemented
|
||||
* by this object.
|
||||
*/
|
||||
#define _ICOM_THIS_From_IOleObject(class,name) class* this = (class*)name
|
||||
|
|
|
@ -101,7 +101,7 @@ struct OLEFontImpl
|
|||
/*
|
||||
* Here, I define utility macros to help with the casting of the
|
||||
* "this" parameter.
|
||||
* There is a version to accomodate all of the VTables implemented
|
||||
* There is a version to accommodate all of the VTables implemented
|
||||
* by this object.
|
||||
*/
|
||||
#define _ICOM_THIS_From_IDispatch(class, name) class* this = (class*)(((char*)name)-sizeof(void*))
|
||||
|
|
|
@ -704,11 +704,11 @@ static HRESULT WINAPI FilterMapper2_RegisterFilter(
|
|||
*ppMoniker = NULL;
|
||||
|
||||
if (!pclsidCategory)
|
||||
/* MSDN mentions the non existing CLSID_ActiveMovieFilters GUID.
|
||||
/* MSDN mentions the inexistent CLSID_ActiveMovieFilters GUID.
|
||||
* In fact this is the CLSID_LegacyAmFilterCategory one */
|
||||
pclsidCategory = &CLSID_LegacyAmFilterCategory;
|
||||
|
||||
/* sizeof... will include null terminator and
|
||||
/* sizeof... will include the null terminator and
|
||||
* the + 1 is for the separator ('\\'). The -1 is
|
||||
* because CHARS_IN_GUID includes the null terminator
|
||||
*/
|
||||
|
|
|
@ -1323,7 +1323,7 @@ static HRESULT WINAPI IShellLinkA_fnResolve(IShellLinkA * iface, HWND hwnd, DWOR
|
|||
|
||||
This->bDirty = TRUE;
|
||||
} else
|
||||
hr = S_OK; /* don't report any error occured while just caching information */
|
||||
hr = S_OK; /* don't report an error occurred while just caching information */
|
||||
}
|
||||
|
||||
if (!This->sIcoPath && This->sPath) {
|
||||
|
@ -1750,7 +1750,7 @@ static HRESULT WINAPI IShellLinkW_fnResolve(IShellLinkW * iface, HWND hwnd, DWOR
|
|||
|
||||
This->bDirty = TRUE;
|
||||
} else
|
||||
hr = S_OK; /* don't report any error occured while just caching information */
|
||||
hr = S_OK; /* don't report an error occurred while just caching information */
|
||||
}
|
||||
|
||||
if (!This->sIcoPath && This->sPath) {
|
||||
|
|
|
@ -767,7 +767,7 @@ HRESULT WINAPI IWineD3DImpl_GetAdapterIdentifier(IWineD3D *iface, UINT Adapter,
|
|||
strcpy(pIdentifier->Driver, "Display");
|
||||
strcpy(pIdentifier->Description, "Direct3D HAL");
|
||||
|
||||
/* Note dx8 doesnt supply a DeviceName */
|
||||
/* Note dx8 doesn't supply a DeviceName */
|
||||
if (NULL != pIdentifier->DeviceName) strcpy(pIdentifier->DeviceName, "\\\\.\\DISPLAY"); /* FIXME: May depend on desktop? */
|
||||
pIdentifier->DriverVersion->u.HighPart = 0xa;
|
||||
pIdentifier->DriverVersion->u.LowPart = This->gl_info.gl_driver_version;
|
||||
|
|
Loading…
Reference in New Issue