diff --git a/src/text.c b/src/text.c index 095f7d8fb..bce0e6f91 100644 --- a/src/text.c +++ b/src/text.c @@ -973,6 +973,7 @@ void DrawTextRecEx(Font font, const char *text, Rectangle rec, float fontSize, f startLine = endLine; endLine = -1; glyphWidth = 0; + selectStart += lastk - k; k = lastk; state = !state;