From e9d30a170c7b637a39af306ad1b47fd3c329c010 Mon Sep 17 00:00:00 2001 From: ztm Date: Tue, 17 Jan 2012 22:38:49 +0000 Subject: [PATCH] Fixed UI to use MAX_QPATH for skin filename buffer length. git-svn-id: svn://svn.icculus.org/quake3/trunk@2215 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/ui/ui_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ui/ui_main.c b/code/ui/ui_main.c index a8a4d86..e887c8c 100644 --- a/code/ui/ui_main.c +++ b/code/ui/ui_main.c @@ -3608,7 +3608,7 @@ static int UI_MapCountByGameType(qboolean singlePlayer) { } qboolean UI_hasSkinForBase(const char *base, const char *team) { - char test[1024]; + char test[MAX_QPATH]; Com_sprintf( test, sizeof( test ), "models/players/%s/%s/lower_default.skin", base, team );