diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index e4aa69238392f3ddb1ec9dc1bb9ac287622fedf6..442f27923c30bc764a9eaa0686f82bab9554f1bf 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,5 +1,8 @@
 2002-01-23  Tom Tromey  <tromey@redhat.com>
 
+	* java/awt/BorderLayout.java (addLayoutComponent): Added missing
+	`else'.
+
 	* Makefile.in: Rebuilt.
 	* Makefile.am (awt_java_source_files): Added new files.
 	* java/awt/Toolkit.java: Merged with Classpath.
diff --git a/libjava/java/awt/BorderLayout.java b/libjava/java/awt/BorderLayout.java
index 17cf34eb1b33ebbd7bef1745a83f714964632282..32e200aadb0bd6c805b8ee205cf93ff40c0dda07 100644
--- a/libjava/java/awt/BorderLayout.java
+++ b/libjava/java/awt/BorderLayout.java
@@ -273,7 +273,7 @@ addLayoutComponent(Component component, Object constraints)
 
   if (str == null || str.equals(CENTER))
     center = component;
-  if (str.equals(NORTH))
+  else if (str.equals(NORTH))
     north = component;
   else if (str.equals(SOUTH))
     south = component;