diff options
| author | Random <[email protected]> | 2020-03-25 02:27:43 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-03-25 10:27:43 +0100 |
| commit | e07281f8bdc46934f2141c87be72eff498d5eb7e (patch) | |
| tree | 3abf5e6934919ba826a09d4579e53d8bcaab4b3d /src | |
| parent | 5e670be2392b5bdff2db09a65899a978cdb175d4 (diff) | |
| download | raylib-e07281f8bdc46934f2141c87be72eff498d5eb7e.tar.gz raylib-e07281f8bdc46934f2141c87be72eff498d5eb7e.zip | |
Fixed DrawTextRecEx() selection when wordwrap is ON (again) (#1149)
Diffstat (limited to 'src')
| -rw-r--r-- | src/text.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |
