Update rtext.c
This commit is contained in:
parent
110eab56a7
commit
ca98a84d68
1 changed files with 1 additions and 1 deletions
|
@ -1339,7 +1339,7 @@ int TextCopy(char *dst, const char *src)
|
||||||
{
|
{
|
||||||
int bytes = 0;
|
int bytes = 0;
|
||||||
|
|
||||||
if (dst != NULL)
|
if ((src != NULL) && (dst != NULL))
|
||||||
{
|
{
|
||||||
while (*src != '\0')
|
while (*src != '\0')
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue