summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Northover <steve>2005-10-25 20:08:17 +0000
committerSteve Northover <steve>2005-10-25 20:08:17 +0000
commit77599823c580f65d5620f46972f3e9e010633e11 (patch)
tree2a9f17d2b037ba6b7d4f36b731f124a391013a2c
parent498b1e35a8c935d42934ff8e43e776e87271b91d (diff)
downloadeclipse.platform.swt-77599823c580f65d5620f46972f3e9e010633e11.tar.gz
eclipse.platform.swt-77599823c580f65d5620f46972f3e9e010633e11.tar.xz
eclipse.platform.swt-77599823c580f65d5620f46972f3e9e010633e11.zip
formatting change
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java
index 4363403264..fc8a5becbd 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java
@@ -2159,9 +2159,7 @@ protected void init () {
OS.RegisterClass (lpWndClass);
/* Register the SWT drop shadow window class */
- if (OS.WIN32_VERSION >= OS.VERSION (5, 1)) {
- lpWndClass.style |= OS.CS_DROPSHADOW;
- }
+ if (OS.WIN32_VERSION >= OS.VERSION (5, 1)) lpWndClass.style |= OS.CS_DROPSHADOW;
byteCount = windowShadowClass.length () * TCHAR.sizeof;
lpWndClass.lpszClassName = OS.HeapAlloc (hHeap, OS.HEAP_ZERO_MEMORY, byteCount);
OS.MoveMemory (lpWndClass.lpszClassName, windowShadowClass, byteCount);