AS3: Constant tab moved to the top

AS3: Empty namespaces shown as "-"
This commit is contained in:
Jindra Pet��k
2011-12-27 08:35:11 +01:00
parent d67e7660ef
commit 70ac6d3308
4 changed files with 20 additions and 7 deletions
+2 -1
View File
@@ -250,7 +250,7 @@ public class ABC {
}
bodies[i].traits = ais.readTraits();
}
}
}
public void saveToStream(OutputStream os) throws IOException {
ABCOutputStream aos = new ABCOutputStream(os);
@@ -367,6 +367,7 @@ public class ABC {
String name = m.getName(constants);
if (ns != null) {
String newimport = ns.getName(constants);
if(newimport.equals("-")) newimport="";
if (!newimport.equals("")) {
newimport += "." + name;
if (newimport.contains(":")) {