template can be const

svn path=/trunk/; revision=26273
This commit is contained in:
Sven Neumann
2008-07-22 10:56:35 +00:00
parent 06d13d4bb5
commit be7d770ad3

View File

@ -1799,12 +1799,13 @@ arcto_ellipsesegment (gdouble radius_x,
gdouble phi1,
GimpCoords *ellips)
{
gdouble phi_s, phi_e;
GimpCoords template = GIMP_COORDS_DEFAULT_VALUES;
const gdouble circlemagic = 4.0 * (G_SQRT2 - 1.0) / 3.0;
gdouble y[4];
gdouble h0, h1;
gdouble t0, t1;
const GimpCoords template = GIMP_COORDS_DEFAULT_VALUES;
const gdouble circlemagic = 4.0 * (G_SQRT2 - 1.0) / 3.0;
gdouble phi_s, phi_e;
gdouble y[4];
gdouble h0, h1;
gdouble t0, t1;
g_return_if_fail (ellips != NULL);