From cda4ab7492b9a99afb91c93201c4448d730ca752 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Thu, 8 Oct 2015 22:47:32 +0200 Subject: [PATCH] libgimpwidgets: argh... --- libgimpwidgets/gimpcolorselect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgimpwidgets/gimpcolorselect.c b/libgimpwidgets/gimpcolorselect.c index 459f0d37c7..3111fe2b2d 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;