Update rtext.c
This commit is contained in:
parent
110eab56a7
commit
ca98a84d68
@ -1339,7 +1339,7 @@ int TextCopy(char *dst, const char *src)
|
||||
{
|
||||
int bytes = 0;
|
||||
|
||||
if (dst != NULL)
|
||||
if ((src != NULL) && (dst != NULL))
|
||||
{
|
||||
while (*src != '\0')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user