mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-20 10:18:14 +00:00
Correct issue with define
This commit is contained in:
@@ -1300,7 +1300,7 @@ const char **TextSplit(const char *text, char delimiter, int *count)
|
|||||||
counter = 1;
|
counter = 1;
|
||||||
|
|
||||||
// Count how many substrings we have on text and point to every one
|
// 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];
|
buffer[i] = text[i];
|
||||||
if (buffer[i] == '\0') break;
|
if (buffer[i] == '\0') break;
|
||||||
|
Reference in New Issue
Block a user