소스 검색

WriteLine utf8 fix

Thareh 1 년 전
부모
커밋
ae2c15ed71
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      stream.mod/stream.bmx

+ 1 - 1
stream.mod/stream.bmx

@@ -437,7 +437,7 @@ Type TStream Extends TIO
 			buf=str.ToCString()
 			length = str.length
 		End If
-		Local ok:Int=Write( buf,str.length )=str.length And Write( [13:Byte,10:Byte],2 )=2
+		Local ok:Int=Write( buf,length )=length And Write( [13:Byte,10:Byte],2 )=2
 		MemFree buf
 		Return ok
 	End Method