Integrating search functionality from AntTheLimey
[potlatch2.git] / net / systemeD / halcyon / styleparser / RuleSet.as
index fed1ea726e666a0a162f17761d2e0ade00043357..33c20b9ce0bfb6c876cf1a256241fc1aacde9df4 100644 (file)
@@ -304,7 +304,7 @@ package net.systemeD.halcyon.styleparser {
 
                private function loadedImage(event:Event):void {
                        var fn:String=event.target.info['filename'];
-                       images[fn]=event.target.data;
+                       images[fn]=event.target.data; if (images[fn].length==0) return;
 
                        var loader:ExtendedLoader = new ExtendedLoader();
                        loader.info['filename']=fn;