2003/12/16 20:55:24
[org.ibex.core.git] / src / org / xwt / translators / PNG.java
index a514ff4..a3578f9 100644 (file)
@@ -29,7 +29,7 @@ public class PNG {
     private static Queue instances = new Queue(10);
 
     public static void load(InputStream is, Picture p) {
-        PNG g = (PNG)instances.remove();
+        PNG g = (PNG)instances.remove(false);
         if (g == null) g = new PNG();
         try {
             g._load(is, p);