summaryrefslogtreecommitdiff
path: root/indra/llimage
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2019-09-10 20:30:25 +0300
committerandreykproductengine <andreykproductengine@lindenlab.com>2019-09-10 20:30:25 +0300
commit37eb735ba7579a68bba45003935998ce67d871af (patch)
treed36b9edf3060743e9abe932423e4b3a6abbed252 /indra/llimage
parentfe0b881acc575df35904bf4f26028ad76007eba9 (diff)
parente241670694959833feaa0e667222b337095eb683 (diff)
Merged in lindenlab/viewer-release
Diffstat (limited to 'indra/llimage')
-rw-r--r--indra/llimage/llimagebmp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llimage/llimagebmp.cpp b/indra/llimage/llimagebmp.cpp
index 867b2bb47b..90b7272efa 100644
--- a/indra/llimage/llimagebmp.cpp
+++ b/indra/llimage/llimagebmp.cpp
@@ -181,7 +181,7 @@ bool LLImageBMP::updateData()
}
}
else
- if( 12 <= header.mSize && 64 <= header.mSize )
+ if( 12 <= header.mSize && header.mSize <= 64 )
{
setLastError("OS/2 2.x BMP files are not supported");
return false;