diff --git a/dlls/comctl32/treeview.c b/dlls/comctl32/treeview.c index a3299c03573..997a7325c9a 100644 --- a/dlls/comctl32/treeview.c +++ b/dlls/comctl32/treeview.c @@ -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); diff --git a/dlls/comctl32/updown.c b/dlls/comctl32/updown.c index 72a5c6c936f..8950b27ea2d 100644 --- a/dlls/comctl32/updown.c +++ b/dlls/comctl32/updown.c @@ -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) diff --git a/dlls/dbghelp/symbol.c b/dlls/dbghelp/symbol.c index 2222db7d92a..35b5cc67a66 100644 --- a/dlls/dbghelp/symbol.c +++ b/dlls/dbghelp/symbol.c @@ -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; } diff --git a/dlls/ole32/datacache.c b/dlls/ole32/datacache.c index f560f3da7e0..8ce11d1161a 100644 --- a/dlls/ole32/datacache.c +++ b/dlls/ole32/datacache.c @@ -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 diff --git a/dlls/ole32/defaulthandler.c b/dlls/ole32/defaulthandler.c index daa40c62e77..c7d12f25808 100644 --- a/dlls/ole32/defaulthandler.c +++ b/dlls/ole32/defaulthandler.c @@ -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 diff --git a/dlls/oleaut32/olefont.c b/dlls/oleaut32/olefont.c index dc888b03300..bb039234c95 100644 --- a/dlls/oleaut32/olefont.c +++ b/dlls/oleaut32/olefont.c @@ -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*)) diff --git a/dlls/quartz/filtermapper.c b/dlls/quartz/filtermapper.c index a72a9d42cc7..201a5401bd4 100644 --- a/dlls/quartz/filtermapper.c +++ b/dlls/quartz/filtermapper.c @@ -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 */ diff --git a/dlls/shell32/shelllink.c b/dlls/shell32/shelllink.c index 163a3cfdc9a..2ec50b05d7b 100644 --- a/dlls/shell32/shelllink.c +++ b/dlls/shell32/shelllink.c @@ -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) { diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c index 14c9dcbc114..27ee06c6272 100644 --- a/dlls/wined3d/directx.c +++ b/dlls/wined3d/directx.c @@ -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;