diff --git a/indra/llimage/llimageworker.cpp b/indra/llimage/llimageworker.cpp index d1030721a7986a89d8bdcd34573bef23450656fe..10688f0f68cc4ca04568589b2f2c18d04ddae191 100644 --- a/indra/llimage/llimageworker.cpp +++ b/indra/llimage/llimageworker.cpp @@ -136,7 +136,7 @@ bool LLImageDecodeThread::ImageRequest::processRequest() { return true; // done (failed) } - if (!(mFormattedImage->getWidth() * mFormattedImage->getHeight() * mFormattedImage->getComponents())) + if ((mFormattedImage->getWidth() * mFormattedImage->getHeight() * mFormattedImage->getComponents()) <= 0) { return true; // done (failed) }