diff options
| author | Johannes Schickel | 2009-05-12 15:06:20 +0000 |
|---|---|---|
| committer | Johannes Schickel | 2009-05-12 15:06:20 +0000 |
| commit | 619d107ed773d7d12ae0433e3fe12e9839c22236 (patch) | |
| tree | 31517ff17aee97351ba34f82ffa638d7d8a0e167 | |
| parent | eb8ddbe8f4d32b235209ab7a91cd5f1f3a67422d (diff) | |
| download | scummvm-rg350-619d107ed773d7d12ae0433e3fe12e9839c22236.tar.gz scummvm-rg350-619d107ed773d7d12ae0433e3fe12e9839c22236.tar.bz2 scummvm-rg350-619d107ed773d7d12ae0433e3fe12e9839c22236.zip | |
Add more detailed error message for "Chunk overread" case.
svn-id: r40493
| -rw-r--r-- | common/iff_container.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/iff_container.h b/common/iff_container.h index 2299d76e0c..617bdde690 100644 --- a/common/iff_container.h +++ b/common/iff_container.h @@ -162,7 +162,7 @@ public: void incBytesRead(uint32 inc) { bytesRead += inc; if (bytesRead > size) { - error("Chunk overread"); + error("Chunk '%s' overread", ID2string(id)); } } |
