diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-01-27 13:58:48 -0800 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-01-27 13:58:48 -0800 |
commit | ccacd7d7acb1a24b754008cd35e9552fed93a1d1 (patch) | |
tree | 90334149b9b7f0fa88691087ffb7dc8dc858c98a /indra | |
parent | 132cb6dbfe256cbf1a7b7558b091a63f99a364be (diff) |
CID-125
Checker: NO_EFFECT
Function: LLFontBitmapCache::getImageRaw(unsigned int) const
File: /indra/llrender/llfontbitmapcache.cpp
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llrender/llfontbitmapcache.cpp | 2 |
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]; |