diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2024-05-30 11:02:31 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2024-05-30 11:02:31 -0400 |
commit | dfdb88305e4612c54f190c1ba237bdb609224d74 (patch) | |
tree | 23f73597a41f8db0cc0c98b64255d620e931ba20 /indra/llimage | |
parent | 5ed8df22cd59680a685c4ada7daa5555bf59d4fe (diff) | |
parent | 4189cb74421794ba123bf8724caa843c9d9d1c78 (diff) |
Merge branch 'release/maint-b' into nat/catch-test-blown-stack.
Retargeting PR #1496 to 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) |