Browse Source

Corrected bug on TextJoin()

raysan5 5 years ago
parent
commit
c43e889e39
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/text.c

+ 1 - 1
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;
             }
         }
     }