Correct issue with define

This commit is contained in:
Ray 2020-01-22 15:11:22 +01:00
parent 71017993ce
commit 49b723e76d

View File

@ -1300,7 +1300,7 @@ const char **TextSplit(const char *text, char delimiter, int *count)
counter = 1;
// Count how many substrings we have on text and point to every one
for (int i = 0; i < MAX_TEXT_BUFFER_LENGTH; i++)
for (int i = 0; i < TEXTSPLIT_MAX_TEXT_BUFFER_LENGTH; i++)
{
buffer[i] = text[i];
if (buffer[i] == '\0') break;