mirror of https://github.com/GNOME/gimp.git
app: fix image type check in gimp_image_color_managed_get_color_profile()
Return the builtin profile for all except GRAY images, not for all except INDEXED images, the latter have an RGB colormap.
This commit is contained in:
parent
d370e9c135
commit
a9c7af8b70
|
@ -1390,7 +1390,7 @@ gimp_image_color_managed_get_color_profile (GimpColorManaged *managed)
|
|||
|
||||
profile = gimp_image_get_color_profile (image);
|
||||
|
||||
if (! profile && gimp_image_get_base_type (image) != GIMP_INDEXED)
|
||||
if (! profile && gimp_image_get_base_type (image) != GIMP_GRAY)
|
||||
profile = gimp_image_get_builtin_color_profile (image);
|
||||
|
||||
return profile;
|
||||
|
|
Loading…
Reference in New Issue