aboutsummaryrefslogtreecommitdiff
path: root/common/macresman.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2010-08-14 04:03:36 +0000
committerMatthew Hoops2010-08-14 04:03:36 +0000
commitd882661aecbe8dc27979f15fadfc83882fe58a8d (patch)
treedc1074bb24174dc7c169c55874c886edb627eeed /common/macresman.cpp
parentc58e2707ffa147f099e3eaf32c941da9cdc47dda (diff)
downloadscummvm-rg350-d882661aecbe8dc27979f15fadfc83882fe58a8d.tar.gz
scummvm-rg350-d882661aecbe8dc27979f15fadfc83882fe58a8d.tar.bz2
scummvm-rg350-d882661aecbe8dc27979f15fadfc83882fe58a8d.zip
COMMON: Cleanup MacResManager::convertCrsrCursor a bit
It's now a static function since it doesn't require any local variables and is really separate from the resource fork code. Also, actually assigning the keycolor (which was just being ignored). svn-id: r52075
Diffstat (limited to 'common/macresman.cpp')
-rw-r--r--common/macresman.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/macresman.cpp b/common/macresman.cpp
index df7351d55a..eb6a5939b6 100644
--- a/common/macresman.cpp
+++ b/common/macresman.cpp
@@ -557,6 +557,7 @@ void MacResManager::convertCrsrCursor(byte *data, int datasize, byte **cursor, i
*hotspot_y = dis.readUint16BE();
*hotspot_x = dis.readUint16BE();
*w = *h = 16;
+ *keycolor = 0xff;
// Use b/w cursor on backends which don't support cursor palettes
if (!colored)