diff options
author | Max Horn | 2005-06-25 19:34:16 +0000 |
---|---|---|
committer | Max Horn | 2005-06-25 19:34:16 +0000 |
commit | e68a6ddd2615ddc42eb18bf3458607f6d108f79f (patch) | |
tree | 75879e894059cde23b6df43f6b4c0dfa558c0413 /scumm/smush | |
parent | 353e8586d478c60f2da5d1d95ece50e98b044574 (diff) | |
download | scummvm-rg350-e68a6ddd2615ddc42eb18bf3458607f6d108f79f.tar.gz scummvm-rg350-e68a6ddd2615ddc42eb18bf3458607f6d108f79f.tar.bz2 scummvm-rg350-e68a6ddd2615ddc42eb18bf3458607f6d108f79f.zip |
cleanup
svn-id: r18464
Diffstat (limited to 'scumm/smush')
-rw-r--r-- | scumm/smush/smush_font.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scumm/smush/smush_font.cpp b/scumm/smush/smush_font.cpp index e1b131fa19..3b3aed766e 100644 --- a/scumm/smush/smush_font.cpp +++ b/scumm/smush/smush_font.cpp @@ -80,8 +80,9 @@ int SmushFont::drawChar(byte *buffer, int dst_width, int x, int y, byte chr) { if (_original) { for (int j = 0; j < h; j++) { for (int i = 0; i < w; i++) { - char value = *src++; - if (value) dst[i] = value; + int8 value = *src++; + if (value) + dst[i] = value; } dst += dst_width; } @@ -104,7 +105,7 @@ int SmushFont::drawChar(byte *buffer, int dst_width, int x, int y, byte chr) { } else { for (int j = 0; j < h; j++) { for (int i = 0; i < w; i++) { - char value = *src++; + int8 value = *src++; if (value == 1) { dst[i] = color; } else if (value) { |