From c43e889e3929f8d1bee05e56443946dd970c127e Mon Sep 17 00:00:00 2001 From: raysan5 Date: Wed, 27 May 2020 13:45:11 +0200 Subject: [PATCH] Corrected bug on TextJoin() --- src/text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/text.c b/src/text.c index 8120c5aa..3c2c9924 100644 --- a/src/text.c +++ b/src/text.c @@ -1312,7 +1312,7 @@ const char *TextJoin(const char **textList, int count, const char *delimiter) { memcpy(textPtr, delimiter, delimiterLen); totalLength += delimiterLen; - textPtr += textLength; + textPtr += delimiterLen; } } }