included suggested fix

This commit is contained in:
DissolveDZ 2023-09-30 23:08:06 +02:00
parent 8594fadbe7
commit d17314e797

View File

@ -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;
}