diff options
Diffstat (limited to 'libjava/classpath/java/awt/Container.java')
-rw-r--r-- | libjava/classpath/java/awt/Container.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libjava/classpath/java/awt/Container.java b/libjava/classpath/java/awt/Container.java index e7622f2e839..1e5004048a7 100644 --- a/libjava/classpath/java/awt/Container.java +++ b/libjava/classpath/java/awt/Container.java @@ -1322,10 +1322,10 @@ public class Container extends Component while (true) { if (comp == null) - return false; - if (comp == this) - return true; + return false; comp = comp.getParent(); + if (comp == this) + return true; } } } |