summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2019-05-15 19:28:17 +0300
committerandreykproductengine <andreykproductengine@lindenlab.com>2019-05-15 19:28:17 +0300
commitce380a4e4f17a1d640e92ee64d2e44ff057ad871 (patch)
tree14d4e6190ccafbf4f87ca5567c6dd4cdd05f0c7a
parent0df49188abb68359dfc3a5ee03ea8cae37abf78d (diff)
SL-11138 Bitmaps format support bug
-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;