diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-06-20 16:16:37 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-06-20 20:52:45 +0800 |
commit | ad5dec92bcb7d11e6a48b6ec6a220a49de985351 (patch) | |
tree | 3870c4c7f1c9521c6ad40d1cfe1b1d8fc39882ef /indra/llimage | |
parent | 16299d3a3631e4c42367cf40410ad6995e585384 (diff) | |
parent | a65bc46b138b89200586b29fe729cbc7b0f0c8c4 (diff) |
Merge remote-tracking branch 'secondlife/release/maint-b' into maint-b
Diffstat (limited to 'indra/llimage')
-rw-r--r-- | indra/llimage/llimageworker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llimage/llimageworker.cpp b/indra/llimage/llimageworker.cpp index 587f25dc1b..8ce17b5753 100644 --- a/indra/llimage/llimageworker.cpp +++ b/indra/llimage/llimageworker.cpp @@ -170,7 +170,7 @@ bool ImageRequest::processRequest() mErrorString = LLImage::getLastThreadError(); return true; // done (failed) } - if (!(mFormattedImage->getWidth() * mFormattedImage->getHeight() * mFormattedImage->getComponents())) + if (0 == (mFormattedImage->getWidth() * mFormattedImage->getHeight() * mFormattedImage->getComponents())) { mErrorString = "Invalid image size"; return true; // done (failed) |