[Bf-committers] copy_paint

Jason Wilkins jason.a.wilkins at gmail.com
Mon Jun 27 00:59:12 CEST 2011


in paint.c we have the function:

void copy_paint(Paint *src, Paint *tar)
{
	tar->brush= src->brush;
}

shouldn't that be this?

void copy_paint(Paint *src, Paint *tar)
{
	tar->brush= src->brush;
	id_us_plus((ID*)(src->brush));
}


More information about the Bf-committers mailing list