aboutsummaryrefslogtreecommitdiff
path: root/libjava/java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java')
-rw-r--r--libjava/java/awt/List.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/java/awt/List.java b/libjava/java/awt/List.java
index 19907c0..955d08f 100644
--- a/libjava/java/awt/List.java
+++ b/libjava/java/awt/List.java
@@ -858,7 +858,7 @@ deselect(int index)
public void
addNotify()
{
- if (peer != null)
+ if (peer == null)
peer = getToolkit ().createList (this);
super.addNotify ();
}