summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Slider.java
diff options
context:
space:
mode:
authorSteve Northover <steve>2004-09-21 14:50:23 +0000
committerSteve Northover <steve>2004-09-21 14:50:23 +0000
commit568501fa61cb0aa8cf0bed0064c4285fbd52de26 (patch)
tree339072008822db0345d18e24f6ff2c18f5926e3b /bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Slider.java
parent6a50ea4b0404ca3598eb5f3da408c2227a6247df (diff)
downloadeclipse.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-xbundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Slider.java8
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