From: havoc Date: Fri, 6 May 2011 13:05:29 +0000 (+0000) Subject: fix a format error in map_identifier (load_flags needs to be u, not g) X-Git-Tag: xonotic-v0.5.0~217 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fdbf23402b21ad794aa9402bb991a16056c0a168;p=xonotic%2Fdarkplaces.git 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 --- 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,