diff options
author | Steve Northover <steve> | 2004-09-21 14:50:23 +0000 |
---|---|---|
committer | Steve Northover <steve> | 2004-09-21 14:50:23 +0000 |
commit | 568501fa61cb0aa8cf0bed0064c4285fbd52de26 (patch) | |
tree | 339072008822db0345d18e24f6ff2c18f5926e3b /bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Slider.java | |
parent | 6a50ea4b0404ca3598eb5f3da408c2227a6247df (diff) | |
download | eclipse.platform.swt-568501fa61cb0aa8cf0bed0064c4285fbd52de26.tar.gz eclipse.platform.swt-568501fa61cb0aa8cf0bed0064c4285fbd52de26.tar.xz eclipse.platform.swt-568501fa61cb0aa8cf0bed0064c4285fbd52de26.zip |
format change
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Slider.java')
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Slider.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Slider.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Slider.java index c52934fa57..201e47c462 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Slider.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Slider.java @@ -743,7 +743,9 @@ LRESULT WM_LBUTTONDBLCLK (int wParam, int lParam) { OS.SetWindowLong (handle, OS.GWL_STYLE, newBits); LRESULT result = super.WM_LBUTTONDBLCLK (wParam, lParam); OS.SetWindowLong (handle, OS.GWL_STYLE, oldBits); - if (hwndCapture != 0 && OS.GetCapture () != hwndCapture) OS.SetCapture (hwndCapture); + if (hwndCapture != 0 && OS.GetCapture () != hwndCapture) { + OS.SetCapture (hwndCapture); + } /* * Feature in Windows. Windows runs a modal message loop @@ -780,7 +782,9 @@ LRESULT WM_LBUTTONDOWN (int wParam, int lParam) { OS.SetWindowLong (handle, OS.GWL_STYLE, newBits); LRESULT result = super.WM_LBUTTONDOWN (wParam, lParam); OS.SetWindowLong (handle, OS.GWL_STYLE, oldBits); - if (hwndCapture != 0 && OS.GetCapture () != hwndCapture) OS.SetCapture (hwndCapture); + if (hwndCapture != 0 && OS.GetCapture () != hwndCapture) { + OS.SetCapture (hwndCapture); + } /* * Feature in Windows. Windows runs a modal message loop |