Commit fa74cbcd authored by
pass src_bytes and dest_bytes to these functions instead of just the
2005-08-09 Michael Natterer <firstname.lastname@example.org> * app/paint-funcs/paint-funcs.[ch] (extract_from_inten_pixels) (extract_from_indexed_pixels): pass src_bytes and dest_bytes to these functions instead of just the source's bytes and whether it has an alpha. Honor dest_bytes when extracting instead of crashing by always asuming that the destination has alpha. Fixes bug #312392. (extract_from_region): removed has_alpha paramater. pass src->bytes and dest->bytes to above functions. * app/core/gimpselection.c (gimp_selection_extract): changed accordingly.
Showing with 41 additions and 27 deletions