Commit 619e2b84 by Tom Tromey Committed by Tom Tromey

BorderLayout.java (addLayoutComponent): Added missing `else'.

	* java/awt/BorderLayout.java (addLayoutComponent): Added missing
	`else'.

From-SVN: r49172
parent 92bc8733
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.
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment