summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-01-27 13:58:48 -0800
committerTofu Linden <tofu.linden@lindenlab.com>2010-01-27 13:58:48 -0800
commitccacd7d7acb1a24b754008cd35e9552fed93a1d1 (patch)
tree90334149b9b7f0fa88691087ffb7dc8dc858c98a
parent132cb6dbfe256cbf1a7b7558b091a63f99a364be (diff)
CID-125
Checker: NO_EFFECT Function: LLFontBitmapCache::getImageRaw(unsigned int) const File: /indra/llrender/llfontbitmapcache.cpp
-rw-r--r--indra/llrender/llfontbitmapcache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llfontbitmapcache.cpp b/indra/llrender/llfontbitmapcache.cpp
index cc9a012f98..fa231c9e6a 100644
--- a/indra/llrender/llfontbitmapcache.cpp
+++ b/indra/llrender/llfontbitmapcache.cpp
@@ -64,7 +64,7 @@ void LLFontBitmapCache::init(S32 num_components,
LLImageRaw *LLFontBitmapCache::getImageRaw(U32 bitmap_num) const
{
- if ((bitmap_num < 0) || (bitmap_num >= mImageRawVec.size()))
+ if (bitmap_num >= mImageRawVec.size())
return NULL;
return mImageRawVec[bitmap_num];