[gimp/goat-invasion: 604/608] app: gimp_pickable_get_color_at(): 4 bytes is not enough for pixels any longer



commit b4fadc8bf242a9a395cd8fdc41ad785ac48afdc4
Author: Michael Natterer <mitch gimp org>
Date:   Fri Apr 27 12:14:54 2012 +0200

    app: gimp_pickable_get_color_at(): 4 bytes is not enough for pixels any longer

 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 e3638f6..36e6c17 100644
--- a/app/core/gimppickable.c
+++ b/app/core/gimppickable.c
@@ -180,7 +180,7 @@ gimp_pickable_get_color_at (GimpPickable *pickable,
                             gint          y,
                             GimpRGB      *color)
 {
-  guchar pixel[4];
+  guchar pixel[32];
 
   g_return_val_if_fail (GIMP_IS_PICKABLE (pickable), FALSE);
   g_return_val_if_fail (color != NULL, FALSE);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]