From a1b82d8e13ca41834c494839c2a05ae7638a38c3 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 27 Jun 2004 21:30:33 +0000 Subject: Cleanup for MemoryReadStream; made it match the File-class interface svn-id: r14086 --- saga/font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'saga/font.cpp') 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; } -- cgit v1.2.3