More style improvements
This commit is contained in:
1 parent
663661db53
commit
103eccf104
7 files changed
+26
-15
No files matched your search
@@ -192,7 +192,7 @@ StringCopyToOdinString :: proc(
|
||||
max := StringGetMaximumSizeForEncoding(length, StringEncoding(StringBuiltInEncodings.UTF8))
|
||||
|
||||
buf, err := make([]byte, max, allocator)
|
||||
if err != nil do return
|
||||
if err != nil { return }
|
||||
|
||||
raw_str := runtime.Raw_String {
|
||||
data = raw_data(buf),
|
||||
|
||||
Reference in new issue
Block a user