Corrected bug on TextJoin()

This commit is contained in:
raysan5 2020-05-27 13:45:11 +02:00
parent aff47d1564
commit c43e889e39

View File

@ -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;
}
}
}