// FIXME put the splash screen back in
if (Log.on) Log.log(Main.class, "loading xwar");
- Res rr = Res.stringToRes(origin);
- Template.getTemplate(((Res)rr.get(initialTemplateName)).addExtension(".xwt")).apply(new Box(), null, 0, 0, rr);
+ Res rr = Res.stringToRes(origin, true);
+ XWT xwt = new XWT(rr);
+ Template.getTemplate(((Res)rr.get(initialTemplateName)).addExtension(".xwt")).apply(new Box(), null, xwt);
Message.Q.startQ();
}