app/indexed_palette.c

Wed Jan  6 23:30:03 GMT 1999 Andy Thomas <alt@picnic.demon.co.uk>

	* app/indexed_palette.c

	Fixed crash when image->dialog->indexed palette invoked on
	an RGB image.
This commit is contained in:
GMT 1999 Andy Thomas 1999-01-06 23:41:34 +00:00 committed by Andy Thomas
parent aa967ff707
commit 7fdd4a4fa9
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,10 @@
Wed Jan 6 23:30:03 GMT 1999 Andy Thomas <alt@picnic.demon.co.uk>
* app/indexed_palette.c
Fixed crash when image->dialog->indexed palette invoked on
an RGB image.
Mon Jan 4 23:21:56 GMT 1999 Andy Thomas <alt@picnic.demon.co.uk>
* app/blend.c

View file

@ -337,7 +337,7 @@ indexed_palette_clear ()
static void
indexed_palette_update (GimpImage* gimage)
{
if (!indexedP)
if (!indexedP || !gimage)
return;
if (gimage_base_type (gimage) == INDEXED)