diff options
author | Oz Linden <oz@lindenlab.com> | 2013-11-21 15:35:25 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2013-11-21 15:35:25 -0500 |
commit | 915ade1029eb39fcd8f3b997b4b8cf2b394c1eb9 (patch) | |
tree | 577c0d98b21d05f0b6f28241f2ab2b7ee31f8618 /indra/newview/llfloaterconversationpreview.cpp | |
parent | dd7b0f96157bdfbdd8892cc8aa209182ae777380 (diff) | |
parent | 787ccaf297e81291469aaf269f563d862fb150a3 (diff) |
merge changes for 3.6.11-release
Diffstat (limited to 'indra/newview/llfloaterconversationpreview.cpp')
-rwxr-xr-x | indra/newview/llfloaterconversationpreview.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llfloaterconversationpreview.cpp b/indra/newview/llfloaterconversationpreview.cpp index 5041f4689d..a303c2c6b3 100755 --- a/indra/newview/llfloaterconversationpreview.cpp +++ b/indra/newview/llfloaterconversationpreview.cpp @@ -96,7 +96,7 @@ BOOL LLFloaterConversationPreview::postBuild() return LLFloater::postBuild(); } -void LLFloaterConversationPreview::setPages(std::list<LLSD>& messages, const std::string& file_name) +void LLFloaterConversationPreview::setPages(std::list<LLSD>& messages,const std::string& file_name) { if(file_name == mChatHistoryFileName) { @@ -134,7 +134,7 @@ void LLFloaterConversationPreview::showHistory() { // additional protection to avoid changes of mMessages in setPages LLMutexLock lock(&mMutex); - if(!mMessages.size() || mCurrentPage * mPageSize >= mMessages.size()) + if (!mMessages.size() || mCurrentPage * mPageSize >= mMessages.size()) { return; } @@ -143,7 +143,7 @@ void LLFloaterConversationPreview::showHistory() std::ostringstream message; std::list<LLSD>::const_iterator iter = mMessages.begin(); std::advance(iter, mCurrentPage * mPageSize); - + for (int msg_num = 0; iter != mMessages.end() && msg_num < mPageSize; ++iter, ++msg_num) { LLSD msg = *iter; |