From adam@uunet.pipex.com Mon Apr 21 09:22:41 1997 Date: Mon, 21 Apr 1997 13:23:23 GMT From: "Adam D. Moss" To: gimp-developer@scam.xcf.berkeley.edu Subject: [gimp-devel][patch] autocrop.c patch This small diff against the autocrop.c plugin renders it usable on indexed images. (It seems that authors are often stopping plugins from operating on INDEXED* images when they'd work perfectly well!) 59c59 < "RGB*, GRAY*", --- > "RGB*, GRAY*, INDEXED*", 90,91c90,91 < /* Make sure that the drawable is gray or RGB color */ < if (gimp_drawable_color(drawable->id) || gimp_drawable_gray(drawable->id)) { --- > /* Make sure that the drawable is gray or RGB or indexed */ > if (gimp_drawable_color(drawable->id) || gimp_drawable_gray(drawable->id) || gimp_drawable_indexed(drawable->id)) {