diff options
author | Max Horn | 2004-06-27 21:30:33 +0000 |
---|---|---|
committer | Max Horn | 2004-06-27 21:30:33 +0000 |
commit | a1b82d8e13ca41834c494839c2a05ae7638a38c3 (patch) | |
tree | fb4b281fd195265035cbb1751dbdcc71b9216f8e /saga/font.cpp | |
parent | 4b2d86392473184211a41e2fdc8a5d8188a4e636 (diff) | |
download | scummvm-rg350-a1b82d8e13ca41834c494839c2a05ae7638a38c3.tar.gz scummvm-rg350-a1b82d8e13ca41834c494839c2a05ae7638a38c3.tar.bz2 scummvm-rg350-a1b82d8e13ca41834c494839c2a05ae7638a38c3.zip |
Cleanup for MemoryReadStream; made it match the File-class interface
svn-id: r14086
Diffstat (limited to 'saga/font.cpp')
-rw-r--r-- | saga/font.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/saga/font.cpp b/saga/font.cpp index 1e72e1eb57..56671455bd 100644 --- a/saga/font.cpp +++ b/saga/font.cpp @@ -168,7 +168,7 @@ int FONT_Load(uint32 font_rn, int font_id) { normal_font->fce[c].tracking = readS->readByte(); } - if (readS->tell() != R_FONT_DESCSIZE) { + if (readS->pos() != R_FONT_DESCSIZE) { warning("Invalid font resource size."); return R_FAILURE; } |