Tabs -> spaces

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@268 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Dave Hoover
2007-06-26 00:07:47 +00:00
parent 0250be64ac
commit 717dc79c02
32 changed files with 191 additions and 191 deletions
@@ -311,16 +311,16 @@ public abstract class FrameManager
*/
public static Component getRoot (Component comp, Rectangle rect)
{
for (Component c = comp; c != null; c = c.getParent()) {
if (!c.isVisible() || !c.isDisplayable()) {
return null;
}
for (Component c = comp; c != null; c = c.getParent()) {
if (!c.isVisible() || !c.isDisplayable()) {
return null;
}
if (c instanceof Window || c instanceof Applet) {
return c;
}
return c;
}
rect.x += c.getX();
rect.y += c.getY();
}
}
return null;
}