Update rtext.c

This commit is contained in:
Ray 2023-02-24 15:27:25 +01:00
parent 110eab56a7
commit ca98a84d68

View File

@ -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')
{