cover up for embarassing generated-file-edit.

2007-09-24  Simon Budig  <simon@gimp.org>

	* tools/pdbgen/pdb/vectors.pdb: cover up for embarassing
	generated-file-edit.


svn path=/trunk/; revision=23647
This commit is contained in:
Simon Budig 2007-09-24 18:13:29 +00:00 committed by Simon Budig
parent d481533d49
commit 2f7fb978c9
2 changed files with 4 additions and 3 deletions

View file

@ -4,8 +4,9 @@
2007-09-24 Simon Budig <simon@gimp.org>
* app/pdb/vectors_cmds.c: fixed error on how many points get
* tools/pdbgen/pdb/vectors.pdb: fixed error on how many points get
initialized.
* app/pdb/vectors_cmds.c: regenerated
Probably fixes bug #479790.

View file

@ -843,8 +843,8 @@ HELP
if (type == GIMP_VECTORS_STROKE_TYPE_BEZIER &&
num_points % 6 == 0)
{
coords = g_new (GimpCoords, num_points);
for (i = 0; i < num_points; i++)
coords = g_new (GimpCoords, num_points/2);
for (i = 0; i < num_points/2; i++)
{
coords[i] = default_coords;
coords[i].x = controlpoints[i*2];