Explorar o código

fix ba should be buf

frabbit %!s(int64=11) %!d(string=hai) anos
pai
achega
5e51b81fe1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      std/haxe/io/BytesBuffer.hx

+ 1 - 1
std/haxe/io/BytesBuffer.hx

@@ -152,7 +152,7 @@ class BytesBuffer {
 		var bytes = new Bytes(buf.length, buf);
 		#elseif python
 		var buf = python.lib.Builtin.bytearray(b);
-		var bytes = new Bytes(ba.length, buf);
+		var bytes = new Bytes(buf.length, buf);
 		#else
 		var bytes = new Bytes(b.length,b);
 		#end