]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix serious error in font caching
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 5 May 2011 11:49:33 +0000 (11:49 +0000)
committerRudolf Polzer <divVerent@xonotic.org>
Thu, 5 May 2011 11:52:52 +0000 (13:52 +0200)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11106 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=1c86aa2d2f97679d7567dc3540657e5349f0e0ba

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,