From a9d09c2e9e9ee8b530cc54669e6d13227988e712 Mon Sep 17 00:00:00 2001 From: mertcandav Date: Sat, 3 Aug 2024 11:51:00 +0300 Subject: [PATCH] std::jule::integrated: revert misunderstanding fix-path of U16PtrToStr --- std/jule/integrated/conv.jule | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/jule/integrated/conv.jule b/std/jule/integrated/conv.jule index 3d8571f9c..bb9144122 100644 --- a/std/jule/integrated/conv.jule +++ b/std/jule/integrated/conv.jule @@ -56,10 +56,10 @@ unsafe fn U16PtrToStr(s: *u16): str { let mut i = 0 for ; i++ { let r = s[i] - codePage = append(codePage, r) if r == 0 { ret str(utf16::Decode(codePage)) } + codePage = append(codePage, r) } ret "" }