propose-patch
[org.ibex.core.git] / src / org / xwt / builtin / splash.xwt
index 128ff26..b0fc151 100644 (file)
@@ -31,7 +31,7 @@
             $text4.font = xwt.font.sansserif;
             $text4.fontsize = 14;
             settext("downloading...");
-            fill = _.org.xwt.builtin["splash.png"];
+            fill = .org.xwt.builtin["splash.png"];
             xwt.ui.window = thisbox;
             thisbox.width=394;
             thisbox.height=276;
             var new_xwt = xwt.clone(new_rr);
 
             xwt.thread = function() {
-for(var i=0; 100>i; i++) {
-progress(i, 100);
-xwt.thread.yield();
-}
-                new_xwt.apply(xwt.box, new_xwt["main.xwt"]);
-                thisbox = null;
+                for(var i=0; 100>i; i++) {
+                progress(i, 100);
+                xwt.thread.yield();
             }
+            new_xwt.apply(xwt.box, new_xwt["main.xwt"]);
+            thisbox = null;
+        }
 xwt.log.println("leaving");
         }
 
@@ -76,3 +76,4 @@ xwt.log.println("leaving");
 
     </template>
 
+</xwt>
\ No newline at end of file