summaryrefslogtreecommitdiff
path: root/indra/newview/llimpanel.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2010-09-15 11:33:59 -0400
committerOz Linden <oz@lindenlab.com>2010-09-15 11:33:59 -0400
commitbf2849ef2346b41ab096c4c7ce44756e3e20cd27 (patch)
treeead87753b10ec8d48ec2ff13848e3dad74f725b8 /indra/newview/llimpanel.cpp
parent53f29252bc055ac884de938814e70b4dba78ba8a (diff)
[STORM-176] Clean up handling of the maximum length of chat messages
Diffstat (limited to 'indra/newview/llimpanel.cpp')
-rw-r--r--indra/newview/llimpanel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llimpanel.cpp b/indra/newview/llimpanel.cpp
index 5f7d1a2ffa..b3b0c93b99 100644
--- a/indra/newview/llimpanel.cpp
+++ b/indra/newview/llimpanel.cpp
@@ -168,7 +168,7 @@ LLFloaterIMPanel::LLFloaterIMPanel(const std::string& session_label,
LLUICtrlFactory::getInstance()->buildFloater(this, xml_filename, NULL);
setTitle(mSessionLabel);
- mInputEditor->setMaxTextLength(1023);
+ mInputEditor->setMaxTextLength(DB_IM_MSG_STR_LEN);
// enable line history support for instant message bar
mInputEditor->setEnableLineHistory(TRUE);