Hi, regis rampnoux <regisr@xxxxxxxxx> writes: > On 04-Apr-2002 Guillermo S. Romero / Familia Romero wrote: > > >> from 0 to 16, that's seventeen values! > > Can I delete this day? :] > > Days are deleted when deprecated ;-) > > But why 17? ( why not? ) > My question was why 17 points in curves.c and > gimp_curves_spline accept an array of 32 points ? > > What are the diff between the curves in curves.c and color_cmds.c ? well, gimp_curves_spline actually accepts an array of 32 integers, not points. Our spline curves are limited to 17 points (for no good reason except simplicity), so the maximal number of points should probably be 34. IMO this is simply a bug. I don't think we should fix it in gimp-1.2 since it would mean that newer plug-ins/scripts that depend on this feature won't work correctly on older 1.2 versions, but it should be definitely be fixed in 1.3. Would you mind filing a bug-report so we don't forget? A patch would be nice to have too (you need to change the .pdb file, not color_cmds.c). Salut, Sven