diff options
| -rw-r--r-- | engines/bladerunner/decompress_lcw.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/engines/bladerunner/decompress_lcw.cpp b/engines/bladerunner/decompress_lcw.cpp index 15e28bf3af..8d20e231c7 100644 --- a/engines/bladerunner/decompress_lcw.cpp +++ b/engines/bladerunner/decompress_lcw.cpp @@ -40,7 +40,7 @@ uint32 decompress_lcw(uint8 *inBuf, uint32 inLen, uint8 *outBuf, uint32 outLen)  		++src;  	} -	while (src[0] != 0x80 && src < inBuf + inLen && dst < outEnd) +	while (src < inBuf + inLen && dst < outEnd && src[0] != 0x80)  	{  		out_remain = (int)(outEnd - dst); | 
