Fix #5413
This commit is contained in:
parent
7a5e8aa3a5
commit
80ad96acc2
|
|
@ -316,7 +316,7 @@ void SliceTextParticle(TextParticle *tp, int particlePos, int sliceLength, TextP
|
||||||
void SliceTextParticleByChar(TextParticle *tp, char charToSlice, TextParticle *tps, int *particleCount)
|
void SliceTextParticleByChar(TextParticle *tp, char charToSlice, TextParticle *tps, int *particleCount)
|
||||||
{
|
{
|
||||||
int tokenCount = 0;
|
int tokenCount = 0;
|
||||||
const char **tokens = TextSplit(tp->text, charToSlice, &tokenCount);
|
char **tokens = TextSplit(tp->text, charToSlice, &tokenCount);
|
||||||
|
|
||||||
if (tokenCount > 1)
|
if (tokenCount > 1)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user