diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-07-29 20:33:40 +0100 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-07-29 20:33:40 +0100 |
commit | 9df7dd4447a48eecc4077597b7366f4e43f96c18 (patch) | |
tree | 1cbc068c31f936415b909257b9c3341b55eb578b /indra/llrender/llfontgl.cpp | |
parent | 56bd9544ecf11b59ad350832451d3726d1f6cc98 (diff) | |
parent | c9ea67aab0a2bc34bcabdce89a5a740710f3aae2 (diff) |
merge
Diffstat (limited to 'indra/llrender/llfontgl.cpp')
-rw-r--r-- | indra/llrender/llfontgl.cpp | 2 |
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? |