[gimp/blend-tool-fun: 112/163] libgimpwidgets: argh...



commit f98b6c7cceb4c6918112848556ae02f2cbf690fe
Author: Michael Natterer <mitch gimp org>
Date:   Thu Oct 8 22:47:32 2015 +0200

    libgimpwidgets: argh...

 libgimpwidgets/gimpcolorselect.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgimpwidgets/gimpcolorselect.c b/libgimpwidgets/gimpcolorselect.c
index 459f0d3..3111fe2 100644
--- a/libgimpwidgets/gimpcolorselect.c
+++ b/libgimpwidgets/gimpcolorselect.c
@@ -852,7 +852,7 @@ gimp_color_select_image_fill (GtkWidget           *preview,
 
   gtk_widget_get_allocation (preview, &allocation);
 
-  csf.buffer = g_alloca (csf.width * 3);
+  csf.buffer = g_alloca (allocation.width * 3);
   csf.width  = allocation.width;
   csf.height = allocation.height;
   csf.hsv    = *hsv;


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