Compile error fix for last commit, using an undeclared variable. How GCC

allowed this to compile I have no idea.
This commit is contained in:
2006-11-11 17:18:42 +00:00
parent f5cff857a5
commit c41823cdb6

View File

@@ -753,7 +753,7 @@ void *CustomData_em_get(const CustomData *data, void *block, int type)
void CustomData_em_set(CustomData *data, void *block, int type, void *source)
{
void *dest = CustomData_em_get(data, index, type);
void *dest = CustomData_em_get(data, block, type);
const LayerTypeInfo *type_info = layerType_getInfo(type);
if(!dest) return;