summaryrefslogtreecommitdiff
path: root/src/fontcache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fontcache.cpp')
-rw-r--r--src/fontcache.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fontcache.cpp b/src/fontcache.cpp
index 507ee2940..2e1882147 100644
--- a/src/fontcache.cpp
+++ b/src/fontcache.cpp
@@ -1113,6 +1113,7 @@ const Sprite *GetGlyph(FontSize size, WChar key)
/* FreeType has rendered the glyph, now we allocate a sprite and copy the image into it */
sprite.AllocateData(width * height);
+ sprite.type = ST_FONT;
sprite.width = width;
sprite.height = height;
sprite.x_offs = slot->bitmap_left;