]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - ft2.c
fix serious error in font caching
[xonotic/darkplaces.git] / ft2.c
diff --git a/ft2.c b/ft2.c
index 726e5127c205fd1e94d8bbce582f1f1faebf8e69..8e1b7a2978b9db9aed49a51162b4eb5899b20e6a 100644 (file)
--- a/ft2.c
+++ b/ft2.c
@@ -1211,7 +1211,7 @@ static qboolean Font_LoadMap(ft2_font_t *font, ft2_font_map_t *mapstart, Uchar _
 
        // create a totally unique name for this map, then we will use it to make a unique cachepic_t to avoid redundant textures
        dpsnprintf(map_identifier, sizeof(map_identifier),
-               "%s_cache_%g_%d_%g_%g_%g_%g_%g_%u",
+               "%s_cache_%g_%g_%g_%g_%g_%g_%g_%u",
                font->name,
                mapstart->intSize,
                load_flags,