diff options
| author | Steve Bennetts <steve@lindenlab.com> | 2009-11-20 17:23:42 -0800 |
|---|---|---|
| committer | Steve Bennetts <steve@lindenlab.com> | 2009-11-20 17:23:42 -0800 |
| commit | 92d725a10e5cf5b883a250bf60bebeb310b521de (patch) | |
| tree | b2b354c34ed6335b95111464766e75c45ec4000d /indra/newview/llscreenchannel.cpp | |
| parent | 3ea3f52aedd1efc568b01c8f618c5bbe805f61db (diff) | |
| parent | 90b72b1c71c71235fe963909eeadb6a079773a71 (diff) | |
Merge
Diffstat (limited to 'indra/newview/llscreenchannel.cpp')
| -rw-r--r-- | indra/newview/llscreenchannel.cpp | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/indra/newview/llscreenchannel.cpp b/indra/newview/llscreenchannel.cpp index d1cf4a0810..24505f6bd6 100644 --- a/indra/newview/llscreenchannel.cpp +++ b/indra/newview/llscreenchannel.cpp @@ -533,19 +533,7 @@ void LLScreenChannel::createStartUpToast(S32 notif_num, F32 timer) LLTextBox* text_box = mStartUpToastPanel->getChild<LLTextBox>("toast_text"); - std::string mStartUpFormatString; - - if(notif_num == 1) - { - mStartUpFormatString = LLTrans::getString("StartUpNotification"); - } - else - { - mStartUpFormatString = LLTrans::getString("StartUpNotifications"); - } - - - std::string text = llformat(mStartUpFormatString.c_str(), notif_num); + std::string text = LLTrans::getString("StartUpNotifications"); toast_rect = mStartUpToastPanel->getRect(); mStartUpToastPanel->reshape(getRect().getWidth(), toast_rect.getHeight(), true); |
