mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-06 03:18:14 +00:00
Update rtext.c
This commit is contained in:
@@ -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')
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user