mirror of https://github.com/GNOME/gimp.git
Fix stack overwrites in gimp_paint_options_gui()
svn path=/trunk/; revision=28002
This commit is contained in:
parent
9999ccf790
commit
45aef9a352
|
@ -1,3 +1,8 @@
|
|||
2009-02-08 Martin Nordholts <martinn@svn.gnome.org>
|
||||
|
||||
* app/tools/gimppaintoptions-gui.c: Fix stack overwrites in
|
||||
gimp_paint_options_gui()
|
||||
|
||||
2009-02-08 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
Bug 520078 – Rotate brushes
|
||||
|
|
|
@ -96,7 +96,7 @@ gimp_paint_options_gui (GimpToolOptions *tool_options)
|
|||
GtkWidget *incremental_toggle = NULL;
|
||||
gint table_row = 0;
|
||||
gint n_dynamics = 0;
|
||||
GtkWidget *dynamics_labels[5];
|
||||
GtkWidget *dynamics_labels[6];
|
||||
GType tool_type;
|
||||
|
||||
tool_type = tool_options->tool_info->tool_type;
|
||||
|
@ -192,6 +192,11 @@ gimp_paint_options_gui (GimpToolOptions *tool_options)
|
|||
n_dynamics++;
|
||||
}
|
||||
|
||||
/* NB: When adding new dynamics, increase size of the
|
||||
* dynamics_labels[] array
|
||||
*/
|
||||
|
||||
|
||||
if (n_dynamics > 0)
|
||||
{
|
||||
GtkWidget *inner_frame;
|
||||
|
|
Loading…
Reference in New Issue