Browse Source
If appending an empty string ("") the null terminator wouldn't be removed, causing it to appear broken. Now, that condition is checked for. I also made it get the length, then resize and strcpy, because I think that will be faster anyways, especially on large strings.master
1 changed files with 5 additions and 7 deletions
Loading…
Reference in new issue