summaryrefslogtreecommitdiff
path: root/ext/gd/libgd/gd_matrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gd/libgd/gd_matrix.c')
-rw-r--r--ext/gd/libgd/gd_matrix.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/gd/libgd/gd_matrix.c b/ext/gd/libgd/gd_matrix.c
index 83438bdbe3..0a67f1dc26 100644
--- a/ext/gd/libgd/gd_matrix.c
+++ b/ext/gd/libgd/gd_matrix.c
@@ -246,7 +246,7 @@ int gdAffineShearHorizontal(double dst[6], const double angle)
int gdAffineShearVertical(double dst[6], const double angle)
{
dst[0] = 1;
- dst[1] = tan(angle * M_PI / 180.0);;
+ dst[1] = tan(angle * M_PI / 180.0);
dst[2] = 0;
dst[3] = 1;
dst[4] = 0;
@@ -331,4 +331,3 @@ int gdAffineEqual (const double m1[6], const double m2[6])
fabs (m1[4] - m2[4]) < GD_EPSILON &&
fabs (m1[5] - m2[5]) < GD_EPSILON);
}
-