diff options
Diffstat (limited to 'linden/indra/newview/llviewertexteditor.cpp')
-rw-r--r-- | linden/indra/newview/llviewertexteditor.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewertexteditor.cpp b/linden/indra/newview/llviewertexteditor.cpp index 6a8d53e..f6829d4 100644 --- a/linden/indra/newview/llviewertexteditor.cpp +++ b/linden/indra/newview/llviewertexteditor.cpp | |||
@@ -1425,7 +1425,8 @@ LLView* LLViewerTextEditor::fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlF | |||
1425 | 1425 | ||
1426 | LLFontGL* font = LLView::selectFont(node); | 1426 | LLFontGL* font = LLView::selectFont(node); |
1427 | 1427 | ||
1428 | LLString text = node->getValue(); | 1428 | // LLString text = node->getValue(); |
1429 | LLString text = node->getTextContents().substr(0, max_text_length - 1); | ||
1429 | 1430 | ||
1430 | if (text.size() > max_text_length) | 1431 | if (text.size() > max_text_length) |
1431 | { | 1432 | { |