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:
Michael Natterer 2015-09-09 20:46:28 +02:00
parent d370e9c135
commit a9c7af8b70
1 changed files with 1 additions and 1 deletions

View File

@ -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;