aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llimage/llimage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llimage/llimage.cpp')
-rw-r--r--linden/indra/llimage/llimage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/llimage/llimage.cpp b/linden/indra/llimage/llimage.cpp
index a7d8bdd..5175314 100644
--- a/linden/indra/llimage/llimage.cpp
+++ b/linden/indra/llimage/llimage.cpp
@@ -1422,7 +1422,7 @@ void LLImageFormatted::sanityCheck()
1422 1422
1423BOOL LLImageFormatted::copyData(U8 *data, S32 size) 1423BOOL LLImageFormatted::copyData(U8 *data, S32 size)
1424{ 1424{
1425 if ( (data && data != getData()) || (size != getDataSize()) ) 1425 if ( data && ((data != getData()) || (size != getDataSize())) )
1426 { 1426 {
1427 deleteData(); 1427 deleteData();
1428 allocateData(size); 1428 allocateData(size);