changed alloca length.

This commit is contained in:
johns 2001-04-22 18:44:43 +00:00
parent c81fbe72ed
commit 9fdcac5386

View file

@ -1346,7 +1346,7 @@ global void LoadUnitSprites(void)
if( file ) {
char* buf;
buf=alloca(strlen(file)+10+1);
buf=alloca(strlen(file)+9+1);
#ifdef NEW_NAMES
file=strcat(strcpy(buf,"graphics/"),file);
#else