aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcommon/llfixedbuffer.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:04 -0500
committerJacek Antonelli2008-08-15 23:45:04 -0500
commit117e22047c5752352342d64e3fb7ce00a4eb8113 (patch)
treee32de2cfba0dda8705ae528fcd1fbe23ba075685 /linden/indra/llcommon/llfixedbuffer.cpp
parentSecond Life viewer sources 1.18.0.6 (diff)
downloadmeta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.zip
meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.gz
meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.bz2
meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.xz
Second Life viewer sources 1.18.1.2
Diffstat (limited to '')
-rw-r--r--linden/indra/llcommon/llfixedbuffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/llcommon/llfixedbuffer.cpp b/linden/indra/llcommon/llfixedbuffer.cpp
index 397fcfd..6defd92 100644
--- a/linden/indra/llcommon/llfixedbuffer.cpp
+++ b/linden/indra/llcommon/llfixedbuffer.cpp
@@ -82,7 +82,7 @@ void LLFixedBuffer::setMaxLines(S32 max_lines)
82 82
83void LLFixedBuffer::removeExtraLines() 83void LLFixedBuffer::removeExtraLines()
84{ 84{
85 while ((S32)mLines.size() > llmax(0, (S32)(mMaxLines - 1))) 85 while ((S32)mLines.size() > llmax((S32)0, (S32)(mMaxLines - 1)))
86 { 86 {
87 mLines.pop_front(); 87 mLines.pop_front();
88 mAddTimes.pop_front(); 88 mAddTimes.pop_front();