diff options
author | Filippos Karapetis | 2009-02-20 16:34:21 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-02-20 16:34:21 +0000 |
commit | 2f4fc293e79025150a621c41a268f86da031957d (patch) | |
tree | 2145620de847d010b94dd18ea195c85da4e5f75e /engines/sci/scicore | |
parent | 75f9d5457ad62b72c4aae95bdced0c19e66f6f13 (diff) | |
download | scummvm-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/sci/scicore')
-rw-r--r-- | engines/sci/scicore/decompress1.cpp | 2 |
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; } |