summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorMike Antipov <mantipov@productengine.com>2010-07-30 13:33:19 +0300
committerMike Antipov <mantipov@productengine.com>2010-07-30 13:33:19 +0300
commite263923d79c2732bbd1e372ccac42d2302b345ce (patch)
treec4ad5f8ba3c7ff6456a04fa9e22e3844074dcb54 /indra/llrender
parentc13048fd8aa273fc3a7fe6b69f0a27ffa25eef43 (diff)
parent2c86deb92a9756e83e0e074dc4de17b2105c9d50 (diff)
Merge from default branch
--HG-- branch : product-engine
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?