summaryrefslogtreecommitdiff
path: root/indra/llui/lltextbase.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2026-09-04 23:09:56 +0800
committerErik Kundiman <erik@megapahit.org>2026-09-04 23:25:54 +0800
commit7f8684301a716d23343cd6e85a4759f3a11546d4 (patch)
tree989df6258c0399431aba03da5805d93542db5317 /indra/llui/lltextbase.cpp
parent0400b6693648c58f901c2b492a78e332815bcaa2 (diff)
parenta4aa5233cad1fb66555e7768750af1b57bc1da7c (diff)
Merge tag 'Second_Life_Release#a4aa523-26.4' into 26.4
Diffstat (limited to 'indra/llui/lltextbase.cpp')
-rw-r--r--indra/llui/lltextbase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp
index 06645df203..f0c3c97ef9 100644
--- a/indra/llui/lltextbase.cpp
+++ b/indra/llui/lltextbase.cpp
@@ -4151,7 +4151,7 @@ S32 LLInlineViewSegment::getNumChars(S32 num_pixels, S32 segment_offset, S32 lin
{
return 0;
}
- else if (line_offset != 0 && num_pixels < mView->getRect().getWidth())
+ else if (line_offset != 0 && num_pixels < (mLeftPad + mRightPad + mView->getRect().getWidth()))
{
return 0;
}