summaryrefslogtreecommitdiff
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
commit45b60984777e26b2cfe3c289fe60b5155eafb847 (patch)
tree7a4cefb136cabec0021262458db7941b9b361360
parentb5a8534116a89f79ab3b76cde3880bff5c998eeb (diff)
EXT-8525 FIX ellipsis are broken on the Favorites bar (trunk)
-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,