From fdbf23402b21ad794aa9402bb991a16056c0a168 Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 6 May 2011 13:05:29 +0000 Subject: [PATCH] fix a format error in map_identifier (load_flags needs to be u, not g) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11108 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=e1566b77c280f0fb9c0961c11db24c4d9ddfd3c3 --- ft2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ft2.c b/ft2.c index 8e1b7a29..859c92ba 100644 --- 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, -- 2.39.2