fixed plateforms bug

This commit is contained in:
Milang 2020-02-03 15:13:37 +01:00
parent f3c5a89450
commit 748d7c04db
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -133,7 +133,7 @@ void init_plateformes(plateforme_t * table, int s)
}
if (0==table)
return;
int size=sizeof(plateforme_t)*plateforme_table_size;
int size=sizeof(plateforme_t)*s;
plateformes=malloc_prof(size);
if (plateformes==0)
malloc_error();