summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2011-02-02 12:43:15 -0700
committerXiaohong Bao <bao@lindenlab.com>2011-02-02 12:43:15 -0700
commit515ccf300cc5e969a9c12e5a31d5eaddbe88161d (patch)
tree8a86b7369d9dbd782ebb816738863f7e6d985a64
parent8f253a33e862b30ebbb0065f4c323c866f6fbc57 (diff)
parent9ba8087a00faebabc9ede757239185a02d7998c5 (diff)
Automated merge with http://hg.secondlife.com/viewer-development
-rw-r--r--indra/newview/llvocache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvocache.cpp b/indra/newview/llvocache.cpp
index b3312db4a0..a933500706 100644
--- a/indra/newview/llvocache.cpp
+++ b/indra/newview/llvocache.cpp
@@ -651,7 +651,7 @@ void LLVOCache::readFromCache(U64 handle, const LLUUID& id, LLVOCacheEntry::voca
void LLVOCache::purgeEntries(U32 size)
{
- while(mHeaderEntryQueue.size() >= size)
+ while(mHeaderEntryQueue.size() > size)
{
header_entry_queue_t::iterator iter = mHeaderEntryQueue.begin() ;
HeaderEntryInfo* entry = *iter ;