]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix a format error in map_identifier (load_flags needs to be u, not g)
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 6 May 2011 13:05:29 +0000 (13:05 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 6 May 2011 13:05:29 +0000 (13:05 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11108 d7cf8633-e32d-0410-b094-e92efae38249

ft2.c

diff --git a/ft2.c b/ft2.c
index 8e1b7a2978b9db9aed49a51162b4eb5899b20e6a..859c92ba3507d9c3a08718b4d5aca1fe8683c060 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_%g_%g_%g_%g_%g_%g_%u",
+               "%s_cache_%g_%u_%g_%g_%g_%g_%g_%u",
                font->name,
                mapstart->intSize,
                load_flags,