diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-01-27 13:58:04 -0800 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-01-27 13:58:04 -0800 |
commit | 132cb6dbfe256cbf1a7b7558b091a63f99a364be (patch) | |
tree | 68495ad5e41e51c563b7af8075dd546773016749 /indra | |
parent | f7f4dae3d82d8ea97f60170c3468fa622639a6ad (diff) |
CID-126
Checker: NO_EFFECT
Function: LLFontBitmapCache::getImageGL(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 f01878642a..cc9a012f98 100644 --- a/indra/llrender/llfontbitmapcache.cpp +++ b/indra/llrender/llfontbitmapcache.cpp @@ -72,7 +72,7 @@ LLImageRaw *LLFontBitmapCache::getImageRaw(U32 bitmap_num) const LLImageGL *LLFontBitmapCache::getImageGL(U32 bitmap_num) const { - if ((bitmap_num < 0) || (bitmap_num >= mImageGLVec.size())) + if (bitmap_num >= mImageGLVec.size()) return NULL; return mImageGLVec[bitmap_num]; |