Commit 9a3f33f6 authored by Committed by Austin DonnellyBrowse files
Applied patch from David Hodson <firstname.lastname@example.org> to fix Bug#33399:
2000-11-29 Austin Donnelly <email@example.com> * app/curves.c: Applied patch from David Hodson <firstname.lastname@example.org> to fix Bug#33399: GIMP crashes when applying curve to Grayscaled image when preview is off. Previously the curves tool attempted a reset when changing image, but didn't correctly do this. Now it has the (more useful) behaviour of doing a partial reset, where the curve remains the same across multiple invocations, allowing you to apply the same tweak to multiple images. The internal state relevant to image type/depth is correctly reset, stopping the segfault behaviour seen before. Still no fix for Bug#33403: Curves/Levels Tool does not work on GRAYA-Images.