changed alloca length.
This commit is contained in:
parent
c81fbe72ed
commit
9fdcac5386
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue