diff options
author | Max Horn | 2005-05-15 10:40:28 +0000 |
---|---|---|
committer | Max Horn | 2005-05-15 10:40:28 +0000 |
commit | fb11e793876b25e47fd4f35ed0f30d3febcc84b0 (patch) | |
tree | 5a6777fe1b50b11e3f0d0f5f94b116dfb9bc845f /scumm/smush | |
parent | e5bbfe8df9e3fb291d840a3cbcdc947185bfd3fa (diff) | |
download | scummvm-rg350-fb11e793876b25e47fd4f35ed0f30d3febcc84b0.tar.gz scummvm-rg350-fb11e793876b25e47fd4f35ed0f30d3febcc84b0.tar.bz2 scummvm-rg350-fb11e793876b25e47fd4f35ed0f30d3febcc84b0.zip |
Replaced global revBitMask array with a macro
svn-id: r18104
Diffstat (limited to 'scumm/smush')
-rw-r--r-- | scumm/smush/smush_font.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/smush/smush_font.cpp b/scumm/smush/smush_font.cpp index 683547f212..20e809e5aa 100644 --- a/scumm/smush/smush_font.cpp +++ b/scumm/smush/smush_font.cpp @@ -138,7 +138,7 @@ int SmushFont::draw2byte(byte *buffer, int dst_width, int x, int y, int idx) { for (int i = 0; i < w; i++) { if ((i % 8) == 0) bits = *src++; - if (bits & revBitMask[i % 8]) { + if (bits & revBitMask(i % 8)) { dst[i + 1] = 0; dst[dst_width + i] = 0; dst[dst_width + i + 1] = 0; |