summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Mutavchi <emutavchi@productengine.com>2009-12-26 18:57:15 +0200
committerEugene Mutavchi <emutavchi@productengine.com>2009-12-26 18:57:15 +0200
commit821bc769273d67150e8b5e937b97ae10fd91983c (patch)
tree262c7627afb28131a91c77e05539a85cffd012ab
parentf416e4a7662d8c49a816ac764e29d8d2c2fbd062 (diff)
Fixed low bug EXT-573 (There is paragraph indent in the toasts text), added the suggested workaround: allow one less character in message.
--HG-- branch : product-engine
-rw-r--r--indra/newview/lltoastalertpanel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lltoastalertpanel.cpp b/indra/newview/lltoastalertpanel.cpp
index 8f296b3794..c3ccb9380b 100644
--- a/indra/newview/lltoastalertpanel.cpp
+++ b/indra/newview/lltoastalertpanel.cpp
@@ -279,7 +279,7 @@ LLToastAlertPanel::LLToastAlertPanel( LLNotificationPtr notification, bool modal
mLineEditor->reshape(leditor_rect.getWidth(), leditor_rect.getHeight());
mLineEditor->setRect(leditor_rect);
mLineEditor->setText(edit_text_contents);
- mLineEditor->setMaxTextLength(STD_STRING_STR_LEN);
+ mLineEditor->setMaxTextLength(STD_STRING_STR_LEN - 1);
// make sure all edit keys get handled properly (DEV-22396)
mLineEditor->setHandleEditKeysDirectly(TRUE);