summaryrefslogtreecommitdiff
path: root/gfx.c
diff options
context:
space:
mode:
Diffstat (limited to 'gfx.c')
-rw-r--r--gfx.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gfx.c b/gfx.c
index 314de65d7..41c072d62 100644
--- a/gfx.c
+++ b/gfx.c
@@ -1613,6 +1613,9 @@ void LoadStringWidthTable(void)
{
uint i;
+ /* Initialize the unicode to sprite mapping table */
+ InitializeUnicodeGlyphMap();
+
/* Normal font */
for (i = 0; i != 224; i++) {
_stringwidth_table[FS_NORMAL][i] = GetGlyphWidth(FS_NORMAL, i + 32);