Update comment

Co-authored-by: Jelte Fennema <github-tech@jeltef.nl>
pull/6753/head
Gokhan Gulbiz 2023-03-21 11:22:29 +03:00 committed by GitHub
parent 3f61a62420
commit 26226d0eb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -675,7 +675,7 @@ Substring(const char *str, int start, int end)
/* Copy the substring to the new memory location */
strncpy_s(substr, end - start + 1, str + start, end - start);
/* Add null terminator to end the substring */
/* Add null terminator to end of the substring */
substr[end - start] = '\0';
return substr;