Skip to content
Permalink
Browse files

ZVISION: Rename inner variable to prevent variable shadowing

  • Loading branch information...
RichieSams committed Aug 5, 2013
1 parent 1b05d2f commit 6564dc044407d1df9adee74de3376b75114844e1
Showing with 2 additions and 2 deletions.
  1. +2 −2 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);

0 comments on commit 6564dc0

Please sign in to comment.
You can’t perform that action at this time.