summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterconversationpreview.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2014-01-23 11:07:32 -0500
committerOz Linden <oz@lindenlab.com>2014-01-23 11:07:32 -0500
commit197db4976ad8df958b7b2c59a66498398cfd0665 (patch)
tree21cdd341fbb8adb1b208142fc4e63362090931da /indra/newview/llfloaterconversationpreview.cpp
parenta4173dc81a21dfac6a8b57e8e1c354b9a37fe5ba (diff)
parentd8a81b240e828a8ab27709fb11038a4b5c4d5428 (diff)
merge changes for 3.6.13-release
Diffstat (limited to 'indra/newview/llfloaterconversationpreview.cpp')
-rwxr-xr-xindra/newview/llfloaterconversationpreview.cpp6
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;