diff options
| author | Dave SIMmONs <simon@lindenlab.com> | 2011-06-08 14:53:00 -0700 |
|---|---|---|
| committer | Dave SIMmONs <simon@lindenlab.com> | 2011-06-08 14:53:00 -0700 |
| commit | 484a4733b7b361d87c6092f4f399951e84c2aacd (patch) | |
| tree | 3031f4f041ffbe87f57d3a58e8ecf3bc988f439b /indra/llrender/llfontgl.cpp | |
| parent | 3dfb4944ed916f9a251078a2614a854b9de0315d (diff) | |
| parent | 68a7c4cb83aca58e6ad9162be9e5022d6f801eac (diff) | |
Merge latest from lindenlab/viewer-development/
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 d6a31dc862..180ae4dfa6 100644 --- a/indra/llrender/llfontgl.cpp +++ b/indra/llrender/llfontgl.cpp @@ -554,7 +554,7 @@ S32 LLFontGL::maxDrawableChars(const llwchar* wchars, F32 max_pixels, S32 max_ch BOOL in_word = FALSE; // avoid S32 overflow when max_pixels == S32_MAX by staying in floating point - F32 scaled_max_pixels = ceil(max_pixels * sScaleX); + F32 scaled_max_pixels = max_pixels * sScaleX; F32 width_padding = 0.f; LLFontGlyphInfo* next_glyph = NULL; |
