diff options
| author | Jonathan "Geenz" Goodman <geenz@lindenlab.com> | 2025-09-10 13:29:51 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-10 13:29:51 -0400 |
| commit | dd1113ba2b62b24378e5b8ecfee0093474527c5a (patch) | |
| tree | 79f368f096ba2c72a98627671c713a0a8abf332f /indra/llui/lltextbase.cpp | |
| parent | 28b544251a05ace780d5902151f98d72f25c3905 (diff) | |
| parent | 175400230869963df7a3f126122ace14456c56cb (diff) | |
Merge branch 'release/2025.07' into project/mac_universal
Diffstat (limited to 'indra/llui/lltextbase.cpp')
| -rw-r--r-- | indra/llui/lltextbase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp index ffaa09fd8c..3fe0df1848 100644 --- a/indra/llui/lltextbase.cpp +++ b/indra/llui/lltextbase.cpp @@ -3765,7 +3765,7 @@ bool LLNormalTextSegment::getDimensionsF32(S32 first_char, S32 num_chars, F32& w { height = 0; width = 0; - if (num_chars > 0) + if (num_chars > 0 && (mStart + first_char >= 0)) { height = mFontHeight; const LLWString &text = getWText(); |
