summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorDebi King (Dessie) <dessie@lindenlab.com>2011-06-16 15:53:16 -0400
committerDebi King (Dessie) <dessie@lindenlab.com>2011-06-16 15:53:16 -0400
commitc445b9ee61c29d125d904fd2e58f157e72ee5b3b (patch)
tree51a45cb4f56d2214ec6c11ce2e0b06c9b11eccf6 /indra/llrender
parent7645c6a19f9b110121d674604a56c5a407736885 (diff)
parentfdc4a704f3622d1da471619413aadb609220962d (diff)
reconciled .hgtags
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 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;