[gimp] libgimpwidgets: argh...
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] libgimpwidgets: argh...
- Date: Thu, 8 Oct 2015 20:47:51 +0000 (UTC)
commit cda4ab7492b9a99afb91c93201c4448d730ca752
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]