aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision
diff options
context:
space:
mode:
authorrichiesams2013-08-05 11:55:20 -0500
committerrichiesams2013-08-05 11:55:20 -0500
commit6564dc044407d1df9adee74de3376b75114844e1 (patch)
treea39e28e64d2ac4f87bc05ce2fd0c6219affa21ae /engines/zvision
parent1b05d2fd7d662e692fa22ef7b1ecb59a63a3765a (diff)
downloadscummvm-rg350-6564dc044407d1df9adee74de3376b75114844e1.tar.gz
scummvm-rg350-6564dc044407d1df9adee74de3376b75114844e1.tar.bz2
scummvm-rg350-6564dc044407d1df9adee74de3376b75114844e1.zip
ZVISION: Rename inner variable to prevent variable shadowing
Diffstat (limited to 'engines/zvision')
-rw-r--r--engines/zvision/render_manager.cpp4
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);