Andrew Talbot : comctl32: Indentation fix.

Alexandre Julliard julliard at winehq.org
Fri May 23 05:45:37 CDT 2008


Module: wine
Branch: master
Commit: 3c5308b804f84dbeda163e62794b474cdccb0559
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3c5308b804f84dbeda163e62794b474cdccb0559

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Thu May 22 22:57:03 2008 +0100

comctl32: Indentation fix.

---

 dlls/comctl32/listview.c |   36 ++++++++++++++++++------------------
 dlls/comctl32/toolbar.c  |    6 +++---
 2 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c
index 0bec1d4..ab9cefe 100644
--- a/dlls/comctl32/listview.c
+++ b/dlls/comctl32/listview.c
@@ -3339,26 +3339,26 @@ static LRESULT LISTVIEW_MouseMove(LISTVIEW_INFO *infoPtr, WORD fwKeys, INT x, IN
     else
         infoPtr->bLButtonDown = FALSE;
 
-  /* see if we are supposed to be tracking mouse hovering */
-  if(infoPtr->dwLvExStyle & LVS_EX_TRACKSELECT) {
-     /* fill in the trackinfo struct */
-     trackinfo.cbSize = sizeof(TRACKMOUSEEVENT);
-     trackinfo.dwFlags = TME_QUERY;
-     trackinfo.hwndTrack = infoPtr->hwndSelf;
-     trackinfo.dwHoverTime = infoPtr->dwHoverTime;
-
-     /* see if we are already tracking this hwnd */
-     _TrackMouseEvent(&trackinfo);
-
-     if(!(trackinfo.dwFlags & TME_HOVER)) {
-       trackinfo.dwFlags = TME_HOVER;
-
-       /* call TRACKMOUSEEVENT so we receive WM_MOUSEHOVER messages */
-       _TrackMouseEvent(&trackinfo);
+    /* see if we are supposed to be tracking mouse hovering */
+    if(infoPtr->dwLvExStyle & LVS_EX_TRACKSELECT) {
+        /* fill in the trackinfo struct */
+        trackinfo.cbSize = sizeof(TRACKMOUSEEVENT);
+        trackinfo.dwFlags = TME_QUERY;
+        trackinfo.hwndTrack = infoPtr->hwndSelf;
+        trackinfo.dwHoverTime = infoPtr->dwHoverTime;
+
+        /* see if we are already tracking this hwnd */
+        _TrackMouseEvent(&trackinfo);
+
+        if(!(trackinfo.dwFlags & TME_HOVER)) {
+            trackinfo.dwFlags = TME_HOVER;
+
+            /* call TRACKMOUSEEVENT so we receive WM_MOUSEHOVER messages */
+            _TrackMouseEvent(&trackinfo);
+        }
     }
-  }
 
-  return 0;
+    return 0;
 }
 
 
diff --git a/dlls/comctl32/toolbar.c b/dlls/comctl32/toolbar.c
index 9669a80..bd37e19 100644
--- a/dlls/comctl32/toolbar.c
+++ b/dlls/comctl32/toolbar.c
@@ -2405,8 +2405,8 @@ TOOLBAR_CustomizeDialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
 		SendDlgItemMessageW (hwnd, IDC_TOOLBARBTN_LBOX, LB_SETCURSEL, index, 0);
 		SendDlgItemMessageW (hwnd, IDC_TOOLBARBTN_LBOX, LB_SETTOPINDEX, index, 0);
 
-        MakeDragList(GetDlgItem(hwnd, IDC_TOOLBARBTN_LBOX));
-        MakeDragList(GetDlgItem(hwnd, IDC_AVAILBTN_LBOX));
+		MakeDragList(GetDlgItem(hwnd, IDC_TOOLBARBTN_LBOX));
+		MakeDragList(GetDlgItem(hwnd, IDC_AVAILBTN_LBOX));
 
 		/* set focus and disable buttons */
 		PostMessageW (hwnd, WM_USER, 0, 0);
@@ -6071,7 +6071,7 @@ TOOLBAR_MouseMove (HWND hwnd, WPARAM wParam, LPARAM lParam)
             /* call TRACKMOUSEEVENT so we receive a WM_MOUSELEAVE message */
             /* and can properly deactivate the hot toolbar button */
             _TrackMouseEvent(&trackinfo);
-       }
+        }
     }
 
     if (infoPtr->hwndToolTip)




More information about the wine-cvs mailing list