aboutsummaryrefslogtreecommitdiff
path: root/graphics/font.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/font.cpp')
-rw-r--r--graphics/font.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/font.cpp b/graphics/font.cpp
index 6cfdf89749..45faf0a047 100644
--- a/graphics/font.cpp
+++ b/graphics/font.cpp
@@ -38,7 +38,7 @@ void NewFont::drawChar(Surface *dst, byte chr, int tx, int ty, uint32 color) con
assert(dst != 0);
byte *ptr = (byte *)dst->getBasePtr(tx, ty);
- assert(desc.bits != 0 && desc.maxwidth <= 16);
+ assert(desc.bits != 0 && desc.maxwidth <= 17);
assert(dst->bytesPerPixel == 1 || dst->bytesPerPixel == 2);
// If this character is not included in the font, use the default char.