aboutsummaryrefslogtreecommitdiff
path: root/graphics/imageman.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-05-20 13:59:31 +0000
committerTorbjörn Andersson2006-05-20 13:59:31 +0000
commit05814a14582eca7bd00e39b3bd8bf5783ddf4f13 (patch)
tree5a53c57399ac69f3fb0aee44f4eedee3886d77a4 /graphics/imageman.cpp
parent3e973d2a910366834931bcf940cdf1f87ab6c96c (diff)
downloadscummvm-rg350-05814a14582eca7bd00e39b3bd8bf5783ddf4f13.tar.gz
scummvm-rg350-05814a14582eca7bd00e39b3bd8bf5783ddf4f13.tar.bz2
scummvm-rg350-05814a14582eca7bd00e39b3bd8bf5783ddf4f13.zip
Apparently, passing a file handle directly to a function causes that file
handle (a copy of the original?) to be destroyed at the end of the function, and that closes the internal file handle, even though we want it to stay open. Who am I to argue with how C++ handles its parameters? I've simply changed the functions to take pointers to file handles instead. Seems to fix crashes in the Macintosh resource extractor for me. svn-id: r22546
Diffstat (limited to 'graphics/imageman.cpp')
0 files changed, 0 insertions, 0 deletions