Explorar o código

another haxe4 fix

Nicolas Cannasse %!s(int64=6) %!d(string=hai) anos
pai
achega
c1de44a98a
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      hxd/res/FileTree.hx

+ 2 - 1
hxd/res/FileTree.hx

@@ -341,7 +341,8 @@ class FileTree {
 		dict.set("loader", "reserved identifier");
 		dict.set("loader", "reserved identifier");
 		buildFieldsRec(d, ofields, dict);
 		buildFieldsRec(d, ofields, dict);
 
 
-		var name = "_" + makeIdent(d.relPath);
+		var name = makeIdent(d.relPath);
+		name = "_" + name.charAt(0).toUpperCase() + name.substr(1);
 		for( f in ofields )
 		for( f in ofields )
 			f.access.remove(AStatic);
 			f.access.remove(AStatic);
 		var def = macro class {
 		var def = macro class {