Jelajahi Sumber

Use __hxcpp_println (#5139)

hxcpp has a println function, so there is no need to double call "print"
Carlos Madrazo 9 tahun lalu
induk
melakukan
0e63c95025
1 mengubah file dengan 1 tambahan dan 2 penghapusan
  1. 1 2
      std/cpp/_std/Sys.hx

+ 1 - 2
std/cpp/_std/Sys.hx

@@ -28,8 +28,7 @@ import cpp.NativeSys;
 	}
 
 	public static function println( v : Dynamic ) : Void {
-		print(v);
-		print("\n");
+		untyped __global__.__hxcpp_println(v);
 	}
 
    @:access(sys.io.FileInput)