summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Heidrich <Felipe_Heidrich@ca.ibm.com>2011-10-11 11:06:35 -0400
committerFelipe Heidrich <Felipe_Heidrich@ca.ibm.com>2011-10-11 11:06:35 -0400
commit9eaccc1cb16d9d4692cc745cb6ccf9b2b5e4c1f8 (patch)
treec472fcc16ffc89508f485cb2a24cc528e9548a6e
parent97a564863cb3520bd1597a176dc964c37d571187 (diff)
downloadeclipse.platform.swt-9eaccc1cb16d9d4692cc745cb6ccf9b2b5e4c1f8.tar.gz
eclipse.platform.swt-9eaccc1cb16d9d4692cc745cb6ccf9b2b5e4c1f8.tar.xz
eclipse.platform.swt-9eaccc1cb16d9d4692cc745cb6ccf9b2b5e4c1f8.zip
removing special case for multi line
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Text.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Text.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Text.java
index 2fa156f0d0..24a9fde70a 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Text.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Text.java
@@ -2537,8 +2537,6 @@ int /*long*/ windowProc (int /*long*/ hwnd, int msg, int /*long*/ wParam, int /*
if (hooks (SWT.GetSegments) || filters (SWT.GetSegments)) {
switch (msg) {
case OS.EM_UNDO:
- if ((OS.GetWindowLong (handle, OS.GWL_STYLE) & OS.ES_MULTILINE) == 0) return 1;
- // else FALL THROUGH
case OS.WM_UNDO:
case OS.EM_CANUNDO:
return 0;