aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2007-09-24 21:34:58 +0000
committerBill Meier <wmeier@newsguy.com>2007-09-24 21:34:58 +0000
commit29c4953c11b1029ba6c5a42575db4c07637f26a2 (patch)
treea826e2ea5119931e3d426be7862353d26f574859 /gtk
parentcbd2d1494c4b2f2c87e0a4bc1a3a6f84c01b75b3 (diff)
Fix bug #1457: Undersized array causing "smashed stack".
svn path=/trunk/; revision=22942
Diffstat (limited to 'gtk')
-rw-r--r--gtk/color_edit_dlg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/color_edit_dlg.c b/gtk/color_edit_dlg.c
index 7ed301cd06..f53ac67eb4 100644
--- a/gtk/color_edit_dlg.c
+++ b/gtk/color_edit_dlg.c
@@ -536,7 +536,7 @@ color_sel_ok_cb (GtkButton *button _U_,
{
GdkColor new_color; /* Color from color selection dialog */
#if GTK_MAJOR_VERSION < 2
- gdouble new_colors[3];
+ gdouble new_colors[4]; /* red, green, blue, "opacity" */
#endif
GtkWidget *color_dialog;
GtkStyle *style;