Fix cut'n'paste err so grayscale images load again. Fixes bug #157764.

2004-11-09  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/bmpread.c: Fix cut'n'paste err so grayscale images
        load again. Fixes bug #157764.
This commit is contained in:
Manish Singh 2004-11-09 18:42:29 +00:00 committed by Manish Singh
parent c37af794b8
commit 7a747f3a91
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-11-09 Manish Singh <yosh@gimp.org>
* plug-ins/common/bmpread.c: Fix cut'n'paste err so grayscale images
load again. Fixes bug #157764.
2004-11-09 Michael Natterer <mitch@gimp.org>
* app/display/gimpdisplayshell-callbacks.c

View File

@ -457,7 +457,7 @@ ReadImage (FILE *fd,
if (grey)
{
base_type = GIMP_GRAY;
image_type = GIMP_RGB_IMAGE;
image_type = GIMP_GRAY_IMAGE;
}
else
{