Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Cornu2002-11-12 15:44:59 +0000
committerChristophe Cornu2002-11-12 15:44:59 +0000
commitd67254236112c84c913fc40ec43512b96399660b (patch)
tree581dbf4343ed2844f14c6cefbba357b2751b0300
parentb95c60a3eb560e65c21ff223e98d0faa16db47e8 (diff)
downloadeclipse.platform.swt-d67254236112c84c913fc40ec43512b96399660b.tar.gz
eclipse.platform.swt-d67254236112c84c913fc40ec43512b96399660b.tar.xz
eclipse.platform.swt-d67254236112c84c913fc40ec43512b96399660b.zip
PR25775
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.java
index e83b6edd69..ec1df57b0c 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.java
@@ -1021,7 +1021,7 @@ void setBounds (int x, int y, int width, int height, int flags) {
*/
RECT rect = new RECT ();
OS.GetWindowRect (handle, rect);
- if (rect.right - rect.left == 0) {
+ if (rect.right - rect.left != 0) {
if (OS.SendMessage (handle, OS.CB_GETDROPPEDCONTROLRECT, 0, rect) != 0) {
int oldWidth = rect.right - rect.left, oldHeight = rect.bottom - rect.top;
if (oldWidth == width && oldHeight == height) flags |= OS.SWP_NOSIZE;

Back to the top