summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorRichard Linden <none@none>2010-08-19 17:35:08 -0700
committerRichard Linden <none@none>2010-08-19 17:35:08 -0700
commit4075efaf0dd8842ece6f6a9890a686745310e2b5 (patch)
tree7a4cefb136cabec0021262458db7941b9b361360 /indra
parent738dde2053479696ac0b4a18996c3046bb55b196 (diff)
EXT-8525 FIX ellipsis are broken on the Favorites bar (trunk)
Diffstat (limited to 'indra')
-rw-r--r--indra/llrender/llfontgl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llfontgl.cpp b/indra/llrender/llfontgl.cpp
index d6c062fc5e..6c5468edb6 100644
--- a/indra/llrender/llfontgl.cpp
+++ b/indra/llrender/llfontgl.cpp
@@ -399,7 +399,7 @@ S32 LLFontGL::render(const LLWString &wstr, S32 begin_offset, F32 x, F32 y, cons
gGL.pushUIMatrix();
renderUTF8(std::string("..."),
0,
- cur_x / sScaleX, (F32)y,
+ (cur_x - origin.mV[VX]) / sScaleX, (F32)y,
color,
LEFT, valign,
style_to_add,