Use the new _clear function and more cleanups.
2001-01-02 Daniel Egger <egger@suse.de> * app/clone.c: * app/gimpimage.c: * app/temp_buf.c: Use the new _clear function and more cleanups.
This commit is contained in:

committed by
Daniel Egger

parent
e7a9439e5f
commit
b4630d410e
@ -3819,7 +3819,7 @@ gimp_image_construct_composite_preview (GimpImage *gimage,
|
||||
|
||||
/* The construction buffer */
|
||||
comp = temp_buf_new (width, height, bytes, 0, 0, NULL);
|
||||
memset (temp_buf_data (comp), 0, comp->width * comp->height * comp->bytes);
|
||||
temp_buf_data_clear (comp);
|
||||
|
||||
floating_sel = NULL;
|
||||
for (list = gimage->layers; list; list = g_slist_next (list))
|
||||
|
Reference in New Issue
Block a user