[gimp] Bug 719662 - plug-in-borderaverage returns a garbage alpha value
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 719662 - plug-in-borderaverage returns a garbage alpha value
- Date: Sun, 1 Dec 2013 22:03:20 +0000 (UTC)
commit 56cdf642fc005ff03da67107c7c64308b36fa3e5
Author: Michael Natterer <mitch gimp org>
Date: Sun Dec 1 23:00:24 2013 +0100
Bug 719662 - plug-in-borderaverage returns a garbage alpha value
Return a fully opaque color instead of a random-memory alpha value.
plug-ins/common/border-average.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/common/border-average.c b/plug-ins/common/border-average.c
index 6659e15..ec8a658 100644
--- a/plug-ins/common/border-average.c
+++ b/plug-ins/common/border-average.c
@@ -316,7 +316,7 @@ borderaverage (GeglBuffer *buffer,
}
/* return the color */
- gimp_rgb_set_uchar (result, r, g, b);
+ gimp_rgba_set_uchar (result, r, g, b, 255);
g_free (cube);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]