aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2009-02-20 16:34:21 +0000
committerFilippos Karapetis2009-02-20 16:34:21 +0000
commit2f4fc293e79025150a621c41a268f86da031957d (patch)
tree2145620de847d010b94dd18ea195c85da4e5f75e /engines
parent75f9d5457ad62b72c4aae95bdced0c19e66f6f13 (diff)
downloadscummvm-rg350-2f4fc293e79025150a621c41a268f86da031957d.tar.gz
scummvm-rg350-2f4fc293e79025150a621c41a268f86da031957d.tar.bz2
scummvm-rg350-2f4fc293e79025150a621c41a268f86da031957d.zip
Used parentheses to indicate operator precedence (I hope I got them right)
svn-id: r38602
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/scicore/decompress1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/scicore/decompress1.cpp b/engines/sci/scicore/decompress1.cpp
index e231c24f9d..7269e29479 100644
--- a/engines/sci/scicore/decompress1.cpp
+++ b/engines/sci/scicore/decompress1.cpp
@@ -184,7 +184,7 @@ decrypt4_hdyn(byte *dest, int length, struct bit_read_struct *reader) {
else {
int length_bonus;
- val_length = 1<<(value - 7) + 8;
+ val_length = (1 << (value - 7)) + 8;
CALLC(length_bonus = getbits(reader, value - 7));
val_length += length_bonus;
}