diff --git a/ChangeLog b/ChangeLog index 974fafba1f..1a888b070e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-07-29 Shlomi Fish + + * libgimpwidgets/gimppreviewarea.c (gimp_preview_area_draw): corrected a + typo causing mayhem in previews of non-alpha grayscale images. + Fixes bug #148873. + 2004-07-30 Sven Neumann * plug-ins/common/ccanalyze.c (fillPreview): optimized preview diff --git a/libgimpwidgets/gimppreviewarea.c b/libgimpwidgets/gimppreviewarea.c index 9d787ed07c..6f86bb20ec 100644 --- a/libgimpwidgets/gimppreviewarea.c +++ b/libgimpwidgets/gimppreviewarea.c @@ -345,7 +345,7 @@ gimp_preview_area_draw (GimpPreviewArea *area, for (col = 0; col < width; col++, s++, d += 3) { - d[0] = d[1] = d[3] = s[0]; + d[0] = d[1] = d[2] = s[0]; } src += rowstride;