mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 03:52:33 +00:00
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:
parent
aa967ff707
commit
7fdd4a4fa9
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue