summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Northover <steve>2003-06-24 19:45:10 +0000
committerSteve Northover <steve>2003-06-24 19:45:10 +0000
commit22368ddbc0e7772794021dbb10556a8c58f4290b (patch)
tree6ce55aa66c0a4f33b208aac06e84cc8f77f0663d
parente74ef03c81020a20c3053d4fbd3185a9ee6a47da (diff)
downloadeclipse.platform.swt-22368ddbc0e7772794021dbb10556a8c58f4290b.tar.gz
eclipse.platform.swt-22368ddbc0e7772794021dbb10556a8c58f4290b.tar.xz
eclipse.platform.swt-22368ddbc0e7772794021dbb10556a8c58f4290b.zip
*** empty log message ***
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Text.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Text.java b/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Text.java
index 853e7245a6..4552a6b2f4 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Text.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Text.java
@@ -92,7 +92,7 @@ static int checkStyle (int style) {
style = checkBits (style, SWT.LEFT, SWT.CENTER, SWT.RIGHT, 0, 0, 0);
if ((style & SWT.SINGLE) != 0) style &= ~(SWT.H_SCROLL | SWT.V_SCROLL | SWT.WRAP);
if ((style & SWT.WRAP) != 0) style |= SWT.MULTI;
- if ((style & SWT.MULTI) != 0) style &= ^SWT.PASSWORD;
+ if ((style & SWT.MULTI) != 0) style &= ~SWT.PASSWORD;
if ((style & (SWT.SINGLE | SWT.MULTI)) != 0) return style;
if ((style & (SWT.H_SCROLL | SWT.V_SCROLL)) != 0) {
return style | SWT.MULTI;