Skip to content
Snippets Groups Projects
Commit ab1922cd authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Fix warning from weird if statement

parent fed9d30f
No related branches found
No related tags found
No related merge requests found
......@@ -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)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment