aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/font.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/saga/font.h')
-rw-r--r--engines/saga/font.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/saga/font.h b/engines/saga/font.h
index f290384e87..d8b1da30b9 100644
--- a/engines/saga/font.h
+++ b/engines/saga/font.h
@@ -190,7 +190,7 @@ class Font {
}
}
bool valid(FontId fontId) {
- return ((fontId >= 0) && (fontId < _loadedFonts));
+ return (fontId < _loadedFonts);
}
int getByteLen(int numBits) const {
int byteLength = numBits / 8;