summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatertwitter.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2018-03-01 19:38:21 -0500
committerNat Goodspeed <nat@lindenlab.com>2018-03-01 19:38:21 -0500
commit12ccb65603ec50ac80d85c4e023ec8e026c9e1f2 (patch)
treef7bfc4b64718278041f46e1759f5de27c9d83864 /indra/newview/llfloatertwitter.cpp
parent2e87bac8f9983faa6a1e46ee626d688a101fa070 (diff)
parent3c7086d4fff6c370f8ce2be51cab2502f663aab1 (diff)
Automated merge with ssh://bitbucket.org/lindenlab/viewer-451
Diffstat (limited to 'indra/newview/llfloatertwitter.cpp')
-rw-r--r--indra/newview/llfloatertwitter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llfloatertwitter.cpp b/indra/newview/llfloatertwitter.cpp
index 4bab89ace2..803c80ac1a 100644
--- a/indra/newview/llfloatertwitter.cpp
+++ b/indra/newview/llfloatertwitter.cpp
@@ -404,13 +404,12 @@ void LLTwitterPhotoPanel::clearAndClose()
void LLTwitterPhotoPanel::updateStatusTextLength(BOOL restore_old_status_text)
{
bool add_location = mLocationCheckbox->getValue().asBoolean();
- bool add_photo = mPhotoCheckbox->getValue().asBoolean();
// Restrict the status text length to Twitter's character limit
LLTextEditor* status_text_box = dynamic_cast<LLTextEditor*>(mStatusTextBox);
if (status_text_box)
{
- int max_status_length = 140 - (add_location ? 40 : 0) - (add_photo ? 40 : 0);
+ int max_status_length = 280 - (add_location ? 40 : 0);
status_text_box->setMaxTextLength(max_status_length);
if (restore_old_status_text)
{