Browse Source

Update rtext.c

pull/2945/head
Ray 2 years ago
parent
commit
ca98a84d68
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/rtext.c

+ 1
- 1
src/rtext.c View File

@ -1339,7 +1339,7 @@ int TextCopy(char *dst, const char *src)
{ {
int bytes = 0; int bytes = 0;
if (dst != NULL)
if (p">(src != NULL) && (dst != NULL))
{ {
while (*src != '\0') while (*src != '\0')
{ {

Loading…
Cancel
Save