diff options
| author | Ray <[email protected]> | 2023-02-24 15:27:25 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2023-02-24 15:27:25 +0100 |
| commit | ca98a84d68ea6f70112de57a68866b4bb55edbe5 (patch) | |
| tree | 7cbecd0d84e394bffc6f6e102cf51bc6933cf8d8 /src/rtext.c | |
| parent | 110eab56a701bbd65f8762cbf6d11ca4e6925fbd (diff) | |
| download | raylib-ca98a84d68ea6f70112de57a68866b4bb55edbe5.tar.gz raylib-ca98a84d68ea6f70112de57a68866b4bb55edbe5.zip | |
Update rtext.c
Diffstat (limited to 'src/rtext.c')
| -rw-r--r-- | src/rtext.c | 2 |
1 files changed, 1 insertions, 1 deletions
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') { |
