summaryrefslogtreecommitdiff
path: root/indra/llui/llconsole.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-01-07 09:40:27 -0800
committerTofu Linden <tofu.linden@lindenlab.com>2010-01-07 09:40:27 -0800
commit29d67f0c690df1d24d4533327bc99f7a56148588 (patch)
treedc6fd659235ce6d3f0b9115750c6f708854bdd48 /indra/llui/llconsole.cpp
parentae7324ea34492a084300497b5da7ac611ee911e8 (diff)
parentb7bab35cb58a33014bb05f2d77b03e58d9e90651 (diff)
Merge latest fixes from viewer2.
Diffstat (limited to 'indra/llui/llconsole.cpp')
-rw-r--r--indra/llui/llconsole.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llconsole.cpp b/indra/llui/llconsole.cpp
index c9090d388d..e08d93b232 100644
--- a/indra/llui/llconsole.cpp
+++ b/indra/llui/llconsole.cpp
@@ -330,7 +330,7 @@ void LLConsole::Paragraph::updateLines(F32 screen_width, const LLFontGL* font, b
skip_chars = 0;
}
- U32 drawable = font->maxDrawableChars(mParagraphText.c_str()+paragraph_offset, screen_width, line_end - paragraph_offset, TRUE);
+ U32 drawable = font->maxDrawableChars(mParagraphText.c_str()+paragraph_offset, screen_width, line_end - paragraph_offset, LLFontGL::WORD_BOUNDARY_IF_POSSIBLE);
if (drawable != 0)
{