mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: args fixes
This commit is contained in:
@ -396,7 +396,7 @@ fn (s string) add(a string) string {
|
||||
for j in 0..a.len {
|
||||
res[s.len + j] = a[j]
|
||||
}
|
||||
res[new_len] = `\0` // V strings are not null terminated, but just in case
|
||||
res.str[new_len] = `\0` // V strings are not null terminated, but just in case
|
||||
return res
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user