corrected a typo causing mayhem in previews of non-alpha grayscale images.
* libgimpwidgets/gimppreviewarea.c (gimp_preview_area_draw): corrected a typo causing mayhem in previews of non-alpha grayscale images. Fixes bug #148873. (as reported by DindinX)
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2004-07-29 Shlomi Fish <shlomif@iglu.org.il>
|
||||||
|
|
||||||
|
* 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 <sven@gimp.org>
|
2004-07-30 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* plug-ins/common/ccanalyze.c (fillPreview): optimized preview
|
* plug-ins/common/ccanalyze.c (fillPreview): optimized preview
|
||||||
|
@ -345,7 +345,7 @@ gimp_preview_area_draw (GimpPreviewArea *area,
|
|||||||
|
|
||||||
for (col = 0; col < width; col++, s++, d += 3)
|
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;
|
src += rowstride;
|
||||||
|
Reference in New Issue
Block a user