comctl32: Indentation fix (2 of 2)

Andrew Talbot andrew.talbot at talbotville.com
Tue May 27 16:10:57 CDT 2008


Changelog:
    comctl32: Indentation fix.

diff --git a/dlls/comctl32/toolbar.c b/dlls/comctl32/toolbar.c
index bd37e19..12b9f93 100644
--- a/dlls/comctl32/toolbar.c
+++ b/dlls/comctl32/toolbar.c
@@ -5439,13 +5439,13 @@ TOOLBAR_Destroy (HWND hwnd, WPARAM wParam, LPARAM lParam)
     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);
-        
+
     CloseThemeData (GetWindowTheme (hwnd));
 
     /* free toolbar info data */
diff --git a/dlls/comctl32/tooltips.c b/dlls/comctl32/tooltips.c
index 48d7757..6d8dc63 100644
--- a/dlls/comctl32/tooltips.c
+++ b/dlls/comctl32/tooltips.c
@@ -2392,15 +2392,15 @@ TOOLTIPS_Destroy (HWND hwnd, WPARAM wParam, LPARAM lParam)
 	    }
 
 	    /* remove subclassing */
-        if (toolPtr->uFlags & TTF_SUBCLASS) {
-            if (toolPtr->uFlags & TTF_IDISHWND) {
-                RemoveWindowSubclass((HWND)toolPtr->uId, TOOLTIPS_SubclassProc, 1);
-            }
-            else {
-                RemoveWindowSubclass(toolPtr->hwnd, TOOLTIPS_SubclassProc, 1);
-            }
-        }
-    }
+	    if (toolPtr->uFlags & TTF_SUBCLASS) {
+		if (toolPtr->uFlags & TTF_IDISHWND) {
+		    RemoveWindowSubclass((HWND)toolPtr->uId, TOOLTIPS_SubclassProc, 1);
+		}
+		else {
+		    RemoveWindowSubclass(toolPtr->hwnd, TOOLTIPS_SubclassProc, 1);
+		}
+	    }
+	}
 	Free (infoPtr->tools);
     }
 
diff --git a/dlls/comctl32/treeview.c b/dlls/comctl32/treeview.c
index fb67c24..c663f24 100644
--- a/dlls/comctl32/treeview.c
+++ b/dlls/comctl32/treeview.c
@@ -1536,7 +1536,7 @@ TREEVIEW_DeleteItem(TREEVIEW_INFO *infoPtr, HTREEITEM wineItem)
 	       newFirstVisible = wineItem->prevSibling;
 	    else if (wineItem->parent != infoPtr->root)
 	       newFirstVisible = wineItem->parent;
-	       TREEVIEW_SetFirstVisible(infoPtr, NULL, TRUE);
+	    TREEVIEW_SetFirstVisible(infoPtr, NULL, TRUE);
 	}
 	else
 	    newFirstVisible = infoPtr->firstVisible;
@@ -3042,10 +3042,10 @@ TREEVIEW_Sort(TREEVIEW_INFO *infoPtr, BOOL fRecurse, 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))
 	    {



More information about the wine-patches mailing list