Skip to content

Commit

Permalink
Fixed UI to use MAX_QPATH for skin filename buffer length.
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.icculus.org/quake3/trunk@2215 edf5b092-35ff-0310-97b2-ce42778d08ea
  • Loading branch information
ztm committed Jan 17, 2012
1 parent 7173a33 commit e9d30a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/ui/ui_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

Expand Down

0 comments on commit e9d30a1

Please sign in to comment.