From e0df0b5c56f582587220a134122a07b98b831067 Mon Sep 17 00:00:00 2001 From: tupshin Date: Sun, 11 Apr 2004 21:55:18 +0000 Subject: [PATCH] respun fix for 538 to work with adam's latest patches darcs-hash:20040411215518-a9258-646ffe22fe94d6c1d1a82521f62db971919798c0.gz --- src/org/ibex/Box.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/ibex/Box.java b/src/org/ibex/Box.java index c153c8b..1f0da15 100644 --- a/src/org/ibex/Box.java +++ b/src/org/ibex/Box.java @@ -171,8 +171,8 @@ public final class Box extends JSScope implements Scheduler.Task { public void perform() throws JSExn { if (texture == null) { Log.warn(Box.class, "perform() called with null texture"); return; } if (texture.isLoaded) { - setMinWidth(max(texture.width, maxwidth)); - setMinHeight(max(texture.height, maxheight)); + setMinWidth(max(texture.width, minwidth)); + setMinHeight(max(texture.height, minheight)); DIRTY; } else { JS res = texture.stream; texture = null; throw new JSExn("image not found: "+res.unclone()); } } -- 1.7.10.4