summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fontcache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fontcache.cpp b/src/fontcache.cpp
index 5f3d8f75a..9802c9a54 100644
--- a/src/fontcache.cpp
+++ b/src/fontcache.cpp
@@ -1004,7 +1004,7 @@ const Sprite *GetGlyph(FontSize size, WChar key)
}
new_glyph.sprite = BlitterFactoryBase::GetCurrentBlitter()->Encode(&sprite, AllocateFont);
- new_glyph.width = (slot->advance.x >> 6) + (size != FS_NORMAL);
+ new_glyph.width = slot->advance.x >> 6;
SetGlyphPtr(size, key, &new_glyph);