From 7a747f3a913e33437c21134d62f7795fcf5f232c Mon Sep 17 00:00:00 2001 From: Manish Singh Date: Tue, 9 Nov 2004 18:42:29 +0000 Subject: [PATCH] Fix cut'n'paste err so grayscale images load again. Fixes bug #157764. 2004-11-09 Manish Singh * plug-ins/common/bmpread.c: Fix cut'n'paste err so grayscale images load again. Fixes bug #157764. --- ChangeLog | 5 +++++ plug-ins/bmp/bmpread.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4ef4cdfbb6..7fd2a61365 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-11-09 Manish Singh + + * plug-ins/common/bmpread.c: Fix cut'n'paste err so grayscale images + load again. Fixes bug #157764. + 2004-11-09 Michael Natterer * app/display/gimpdisplayshell-callbacks.c diff --git a/plug-ins/bmp/bmpread.c b/plug-ins/bmp/bmpread.c index e148b0c565..567ae11753 100644 --- a/plug-ins/bmp/bmpread.c +++ b/plug-ins/bmp/bmpread.c @@ -457,7 +457,7 @@ ReadImage (FILE *fd, if (grey) { base_type = GIMP_GRAY; - image_type = GIMP_RGB_IMAGE; + image_type = GIMP_GRAY_IMAGE; } else {