Remove usage of do in core library
This commit is contained in:
1 parent
4844dd4d96
commit
fc4fdd588e
45 files changed
+960
-520
No files matched your search
@@ -66,7 +66,9 @@ wstring_to_utf8 :: proc(s: wstring, N: int, allocator := context.temp_allocator)
|
||||
}
|
||||
|
||||
utf16_to_utf8 :: proc(s: []u16, allocator := context.temp_allocator) -> string {
|
||||
if len(s) == 0 do return "";
|
||||
if len(s) == 0 {
|
||||
return "";
|
||||
}
|
||||
return wstring_to_utf8(cast(wstring)&s[0], len(s), allocator);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user