[gimp] app: gimp_pickable_pick_color(): return the right color index
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: gimp_pickable_pick_color(): return the right color index
- Date: Sun, 9 Jun 2013 22:31:44 +0000 (UTC)
commit 330d511b337aa5f9f5bedebe7840949a2b9b0fef
Author: Michael Natterer <mitch gimp org>
Date: Mon Jun 10 00:18:22 2013 +0200
app: gimp_pickable_pick_color(): return the right color index
app/core/gimppickable.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/core/gimppickable.c b/app/core/gimppickable.c
index 3d4888b..3e83b35 100644
--- a/app/core/gimppickable.c
+++ b/app/core/gimppickable.c
@@ -252,7 +252,7 @@ gimp_pickable_pick_color (GimpPickable *pickable,
gimp_pickable_get_pixel_at (pickable, x, y, format, indexed_pixel);
- *color_index = pixel[0];
+ *color_index = indexed_pixel[0];
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]