diff options
author | Max Horn | 2008-09-06 21:23:08 +0000 |
---|---|---|
committer | Max Horn | 2008-09-06 21:23:08 +0000 |
commit | 6bfa3e274a882dc0ac0b8362b225ae3234f4830b (patch) | |
tree | bb625613d1a715fa4feeef37509f721163fc0941 /engines/m4 | |
parent | 7a7e7102908e5e9468ad9cf4077c5ded0657bb50 (diff) | |
download | scummvm-rg350-6bfa3e274a882dc0ac0b8362b225ae3234f4830b.tar.gz scummvm-rg350-6bfa3e274a882dc0ac0b8362b225ae3234f4830b.tar.bz2 scummvm-rg350-6bfa3e274a882dc0ac0b8362b225ae3234f4830b.zip |
Got rid of File::eof()
svn-id: r34396
Diffstat (limited to 'engines/m4')
-rw-r--r-- | engines/m4/resource.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/m4/resource.cpp b/engines/m4/resource.cpp index 5070a2b79c..265e4dae0b 100644 --- a/engines/m4/resource.cpp +++ b/engines/m4/resource.cpp @@ -76,11 +76,11 @@ FileSystem::FileSystem(const char *hashFilename) { } /* load hagfile records and update the list */ - while (!hashFile.eof()) { + while (!hashFile.eos()) { HashHagEntry entry; hashFile.read(entry.filename, kM4MaxFilenameSize); entry.fileIndex = hashFile.readByte(); - if (hashFile.eof()) + if (hashFile.eos()) break; changeExtension(_hagEntries[entry.fileIndex].filename, entry.filename, "HAG"); |