aboutsummaryrefslogtreecommitdiff
path: root/saga/font.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'saga/font.cpp')
-rw-r--r--saga/font.cpp2
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;
}