diff options
author | Torbjörn Andersson | 2003-12-19 14:07:12 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-12-19 14:07:12 +0000 |
commit | b179e8f6ec6d24f6b46a1b9e14e46ad777374d94 (patch) | |
tree | 065c7947ff9419920e95ab8610f6a0c8a1d1513c /sword1/resman.cpp | |
parent | b7a5d9720791bd112730d1384c7c7cf94a40e381 (diff) | |
download | scummvm-rg350-b179e8f6ec6d24f6b46a1b9e14e46ad777374d94.tar.gz scummvm-rg350-b179e8f6ec6d24f6b46a1b9e14e46ad777374d94.tar.bz2 scummvm-rg350-b179e8f6ec6d24f6b46a1b9e14e46ad777374d94.zip |
Whitespace changes
svn-id: r11760
Diffstat (limited to 'sword1/resman.cpp')
-rw-r--r-- | sword1/resman.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sword1/resman.cpp b/sword1/resman.cpp index ca3e3b7a72..2097874acd 100644 --- a/sword1/resman.cpp +++ b/sword1/resman.cpp @@ -85,7 +85,7 @@ void ResMan::loadCluDescript(const char *fileName) { _memMan->initHandle(group->resHandle + resCnt); } } - free(resIdIdx); + free(resIdIdx); } else cluster->grp[grpCnt] = NULL; free(grpIndex); @@ -200,7 +200,7 @@ void ResMan::resClose(uint32 id) { FrameHeader *ResMan::fetchFrame(void *resourceData, uint32 frameNo) { uint8 *frameFile = (uint8*)resourceData; - uint8 *idxData = frameFile + sizeof(Header); + uint8 *idxData = frameFile + sizeof(Header); if (frameNo >= READ_LE_UINT32(idxData)) error("fetchFrame:: frame %d doesn't exist in resource.", frameNo); frameFile += READ_LE_UINT32(idxData + (frameNo+1) * 4); |