mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
comctl32: Indentation fix.
This commit is contained in:
parent
c8092a04ce
commit
85ebbadcb0
3 changed files with 17 additions and 17 deletions
|
@ -205,16 +205,16 @@ DATETIME_SetSystemTime (DATETIME_INFO *infoPtr, DWORD flag, const SYSTEMTIME *sy
|
|||
systime->wHour, systime->wMinute, systime->wSecond);
|
||||
|
||||
if (flag == GDT_VALID) {
|
||||
if (systime->wYear == 0 ||
|
||||
systime->wMonth < 1 || systime->wMonth > 12 ||
|
||||
systime->wDay < 1 ||
|
||||
systime->wDay > MONTHCAL_MonthLength(systime->wMonth, systime->wYear) ||
|
||||
systime->wHour > 23 ||
|
||||
systime->wMinute > 59 ||
|
||||
systime->wSecond > 59 ||
|
||||
systime->wMilliseconds > 999
|
||||
)
|
||||
return FALSE;
|
||||
if (systime->wYear == 0 ||
|
||||
systime->wMonth < 1 || systime->wMonth > 12 ||
|
||||
systime->wDay < 1 ||
|
||||
systime->wDay > MONTHCAL_MonthLength(systime->wMonth, systime->wYear) ||
|
||||
systime->wHour > 23 ||
|
||||
systime->wMinute > 59 ||
|
||||
systime->wSecond > 59 ||
|
||||
systime->wMilliseconds > 999
|
||||
)
|
||||
return FALSE;
|
||||
|
||||
/* Windows returns true if the date is valid but outside the limits set */
|
||||
if (DATETIME_IsDateInValidRange(infoPtr, systime) == FALSE)
|
||||
|
|
|
@ -5212,9 +5212,9 @@ TOOLBAR_Destroy (TOOLBAR_INFO *infoPtr)
|
|||
if (infoPtr->himlInt)
|
||||
ImageList_Destroy (infoPtr->himlInt);
|
||||
|
||||
TOOLBAR_DeleteImageList(&infoPtr->himlDef, &infoPtr->cimlDef);
|
||||
TOOLBAR_DeleteImageList(&infoPtr->himlDis, &infoPtr->cimlDis);
|
||||
TOOLBAR_DeleteImageList(&infoPtr->himlHot, &infoPtr->cimlHot);
|
||||
TOOLBAR_DeleteImageList(&infoPtr->himlDef, &infoPtr->cimlDef);
|
||||
TOOLBAR_DeleteImageList(&infoPtr->himlDis, &infoPtr->cimlDis);
|
||||
TOOLBAR_DeleteImageList(&infoPtr->himlHot, &infoPtr->cimlHot);
|
||||
|
||||
/* delete default font */
|
||||
DeleteObject (infoPtr->hDefaultFont);
|
||||
|
|
|
@ -3164,10 +3164,10 @@ TREEVIEW_Sort(TREEVIEW_INFO *infoPtr, HTREEITEM parent,
|
|||
{
|
||||
int visOrder = infoPtr->firstVisible->visibleOrder;
|
||||
|
||||
if (parent == infoPtr->root)
|
||||
TREEVIEW_RecalculateVisibleOrder(infoPtr, NULL);
|
||||
else
|
||||
TREEVIEW_RecalculateVisibleOrder(infoPtr, parent);
|
||||
if (parent == infoPtr->root)
|
||||
TREEVIEW_RecalculateVisibleOrder(infoPtr, NULL);
|
||||
else
|
||||
TREEVIEW_RecalculateVisibleOrder(infoPtr, parent);
|
||||
|
||||
if (TREEVIEW_IsChildOf(parent, infoPtr->firstVisible))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue