- small fix: image icons are now drawn without the white background

This commit is contained in:
Andrea Weikert 2006-06-05 13:08:54 +00:00
parent e5218ce9aa
commit 10bc192604

@ -671,7 +671,7 @@ static void icon_from_image(Image* img, RenderInfo* ri)
if (!ri->rect) {
ri->rect= MEM_callocN(pr_size, "butsrect");
memset(ri->rect, 0xFF, pr_size);
memset(ri->rect, 0x00, pr_size);
}
/* we only load image if there's no preview saved already ...