included suggested fix
This commit is contained in:
parent
8594fadbe7
commit
d17314e797
|
|
@ -1415,7 +1415,7 @@ int TextCopy(char *dst, const char *src)
|
|||
return 0;
|
||||
|
||||
// use strcpy since it uses vector operations
|
||||
unsigned int length = strcpy(dst, src);
|
||||
unsigned int length = *strcpy(dst, src);
|
||||
|
||||
return length;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user