summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorRichard Linden <none@none>2010-07-29 12:05:48 -0700
committerRichard Linden <none@none>2010-07-29 12:05:48 -0700
commitc9ea67aab0a2bc34bcabdce89a5a740710f3aae2 (patch)
tree3484202f687783210b6af7ebd7acede30d895339 /indra/llrender
parent270a4198327c6dd43283e1d8fa99ea8905f8e8e6 (diff)
parentb5a94da19b7f6aa63f2860a29c0d50e21a7e8104 (diff)
merge
Diffstat (limited to 'indra/llrender')
-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 6a7eba2712..2240a2146c 100644
--- a/indra/llrender/llfontgl.cpp
+++ b/indra/llrender/llfontgl.cpp
@@ -369,7 +369,7 @@ S32 LLFontGL::render(const LLWString &wstr, S32 begin_offset, F32 x, F32 y, cons
if (right_x)
{
- *right_x = cur_x / sScaleX;
+ *right_x = (cur_x - origin.mV[VX]) / sScaleX;
}
//FIXME: add underline as glyph?