From ca98a84d68ea6f70112de57a68866b4bb55edbe5 Mon Sep 17 00:00:00 2001 From: Ray Date: Fri, 24 Feb 2023 15:27:25 +0100 Subject: Update rtext.c --- src/rtext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/rtext.c b/src/rtext.c index 7cce1eb8..f0726112 100644 --- a/src/rtext.c +++ b/src/rtext.c @@ -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') { -- cgit v1.2.3