소스 검색

- fixed neko.io.File renames

Laurent Bedubourg 19 년 전
부모
커밋
1fd8e31594
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      std/mtwin/templo/Template.hx

+ 1 - 1
std/mtwin/templo/Template.hx

@@ -94,7 +94,7 @@ class Template {
 		s = "// generated from " + id + "\n//" + src.split("\n").join("//") + "\n" + s;
 
 		var f = neko.io.File.write(path, false);
-		f.writeBytes(s);
+		f.write(s);
 		f.close();
 
 		var r = neko.Sys.command("nekoc -o "+Loader.TMP_DIR+" "+path+" 2> "+Loader.TMP_DIR+"/nekoc.out");