diff options
author | Stinson Linden <stinson@lindenlab.com> | 2014-06-06 19:28:18 +0100 |
---|---|---|
committer | Stinson Linden <stinson@lindenlab.com> | 2014-06-06 19:28:18 +0100 |
commit | bde6023286c899c99104b16181203f7b58819333 (patch) | |
tree | fa4bdf1aa0852443463096f1b2e15decdfc5f748 /indra | |
parent | 47a5e1c751bb8dfccef65ee841749d8209106c99 (diff) |
MAINT-4137: Correcting some poorly written CPP code that could potentially lead to problems in the future.
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/newview/lllocalbitmaps.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/lllocalbitmaps.cpp b/indra/newview/lllocalbitmaps.cpp index e78e0233d7..92587a911a 100755 --- a/indra/newview/lllocalbitmaps.cpp +++ b/indra/newview/lllocalbitmaps.cpp @@ -190,7 +190,7 @@ bool LLLocalBitmap::updateSelf(EUpdateType optional_firstupdate) { // decode is successful, we can safely proceed. LLUUID old_id = LLUUID::null; - if (!(optional_firstupdate == UT_FIRSTUSE) && !mWorldID.isNull()) + if ((optional_firstupdate != UT_FIRSTUSE) && !mWorldID.isNull()) { old_id = mWorldID; } @@ -206,7 +206,7 @@ bool LLLocalBitmap::updateSelf(EUpdateType optional_firstupdate) gTextureList.addImage(texture); - if (!optional_firstupdate == UT_FIRSTUSE) + if (optional_firstupdate != UT_FIRSTUSE) { // seek out everything old_id uses and replace it with mWorldID replaceIDs(old_id, mWorldID); |