Browse Source

fix (typing)

Nicolas Cannasse 15 years ago
parent
commit
f0ce44f2da
1 changed files with 2 additions and 1 deletions
  1. 2 1
      std/flash/FlashXml__.hx

+ 2 - 1
std/flash/FlashXml__.hx

@@ -280,7 +280,8 @@ class FlashXml__ {
 		// only works for toplevel elements
 		if( nodeType == Xml.CData )
 			return "<![CDATA["+__x[untyped "nodeValue"]+"]]>";
-		return __x.toString().split(" />").join("/>");
+		var s : String = __x.toString();
+		return s.split(" />").join("/>");
 	}