Typo fix for my previous commit... wrong-sized array was being allocated, but somehow this still managed to work fine last night.

This commit is contained in:
Joshua Leung
2007-11-02 03:00:35 +00:00
parent c3cc13e71b
commit 5baf3bd490

View File

@@ -5023,9 +5023,9 @@ static void beztmap_to_data (TransInfo *t, EditIpo *ei, BeztMap *bezms, int totv
/* dynamically allocate an array of chars to mark whether an TransData's
* pointers have been fixed already, so that we don't override ones that are
* already done
* already done (assumes sizeof(char)==1)
*/
adjusted= MEM_callocN(sizeof(char), "beztmap_adjusted_map");
adjusted= MEM_callocN(t->total, "beztmap_adjusted_map");
/* for each beztmap item, find if it is used anywhere */
bezm= bezms;