diff options
author | richiesams | 2013-08-05 11:55:20 -0500 |
---|---|---|
committer | richiesams | 2013-08-05 11:55:20 -0500 |
commit | 6564dc044407d1df9adee74de3376b75114844e1 (patch) | |
tree | a39e28e64d2ac4f87bc05ce2fd0c6219affa21ae | |
parent | 1b05d2fd7d662e692fa22ef7b1ecb59a63a3765a (diff) | |
download | scummvm-rg350-6564dc044407d1df9adee74de3376b75114844e1.tar.gz scummvm-rg350-6564dc044407d1df9adee74de3376b75114844e1.tar.bz2 scummvm-rg350-6564dc044407d1df9adee74de3376b75114844e1.zip |
ZVISION: Rename inner variable to prevent variable shadowing
-rw-r--r-- | engines/zvision/render_manager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/zvision/render_manager.cpp b/engines/zvision/render_manager.cpp index 604c310689..b38db003d1 100644 --- a/engines/zvision/render_manager.cpp +++ b/engines/zvision/render_manager.cpp @@ -112,9 +112,9 @@ void RenderManager::renderImageToScreen(Common::SeekableReadStream &stream, uint uint32 imageWidth = stream.readSint32LE(); uint32 imageHeight = stream.readSint32LE(); - LzssReadStream stream(&stream); + LzssReadStream lzssStream(&stream); byte *buffer = new byte[decompressedSize]; - stream.read(buffer, decompressedSize); + lzssStream.read(buffer, decompressedSize); uint32 horizontalPitch = imageWidth * sizeof(uint16); |