diff options
author | Marisa-Chan | 2013-10-20 18:39:06 +0000 |
---|---|---|
committer | Marisa-Chan | 2013-10-20 18:39:06 +0000 |
commit | 25834faf0738ae6c33819b196fdfb8ab5e8f1888 (patch) | |
tree | fb4c9fa0883f24d44a9c76926cf99be32c908f9e /engines/zvision/zfs_archive.cpp | |
parent | aefa58f5a4470b1ba2e275c62aa1a7a0cec76539 (diff) | |
download | scummvm-rg350-25834faf0738ae6c33819b196fdfb8ab5e8f1888.tar.gz scummvm-rg350-25834faf0738ae6c33819b196fdfb8ab5e8f1888.tar.bz2 scummvm-rg350-25834faf0738ae6c33819b196fdfb8ab5e8f1888.zip |
ZVISION: Style modifing by astyle.
Diffstat (limited to 'engines/zvision/zfs_archive.cpp')
-rw-r--r-- | engines/zvision/zfs_archive.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/zvision/zfs_archive.cpp b/engines/zvision/zfs_archive.cpp index 24cff27fc4..3f5ff5a0d4 100644 --- a/engines/zvision/zfs_archive.cpp +++ b/engines/zvision/zfs_archive.cpp @@ -52,7 +52,7 @@ ZfsArchive::ZfsArchive(const Common::String &fileName, Common::SeekableReadStrea ZfsArchive::~ZfsArchive() { debug(1, "ZfsArchive Destructor Called"); ZfsEntryHeaderMap::iterator it = _entryHeaders.begin(); - for ( ; it != _entryHeaders.end(); ++it) { + for (; it != _entryHeaders.end(); ++it) { delete it->_value; } } @@ -79,7 +79,7 @@ void ZfsArchive::readHeaders(Common::SeekableReadStream *stream) { // Read in each entry header for (uint32 i = 0; i < _header.filesPerBlock; ++i) { ZfsEntryHeader entryHeader; - + entryHeader.name = readEntryName(stream); entryHeader.offset = stream->readUint32LE(); entryHeader.id = stream->readUint32LE(); @@ -138,7 +138,7 @@ Common::SeekableReadStream *ZfsArchive::createReadStreamForMember(const Common:: zfsArchive.seek(entryHeader->offset); // This *HAS* to be malloc (not new[]) because MemoryReadStream uses free() to free the memory - byte* buffer = (byte *)malloc(entryHeader->size); + byte *buffer = (byte *)malloc(entryHeader->size); zfsArchive.read(buffer, entryHeader->size); // Decrypt the data in place if (_header.xorKey != 0) |