summaryrefslogtreecommitdiff
path: root/pango/pango-matrix.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2008-11-21 21:52:36 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2008-11-21 21:52:36 +0000
commite7fa19d60666897ed819eb0028bab06852a8f420 (patch)
tree654d332aedb5963bcafdacc5da985e0d048e201f /pango/pango-matrix.c
parent61ccfaedf174ffc7178cff16181e0e95005bb4f4 (diff)
downloadpango-e7fa19d60666897ed819eb0028bab06852a8f420.tar.gz
Bug 561779 – incorrect calculations in pango_matrix_concat
2008-11-21 Behdad Esfahbod <behdad@gnome.org> Bug 561779 – incorrect calculations in pango_matrix_concat implementation * pango/pango-matrix.c (pango_matrix_concat): Fix bug in y0 computation. svn path=/trunk/; revision=2739
Diffstat (limited to 'pango/pango-matrix.c')
-rw-r--r--pango/pango-matrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-matrix.c b/pango/pango-matrix.c
index c58e58a3..70a1698e 100644
--- a/pango/pango-matrix.c
+++ b/pango/pango-matrix.c
@@ -192,7 +192,7 @@ pango_matrix_concat (PangoMatrix *matrix,
matrix->yx = tmp.yx * new_matrix->xx + tmp.yy * new_matrix->yx;
matrix->yy = tmp.yx * new_matrix->xy + tmp.yy * new_matrix->yy;
matrix->x0 = tmp.xx * new_matrix->x0 + tmp.xy * new_matrix->y0 + tmp.x0;
- matrix->y0 = tmp.yx * new_matrix->y0 + tmp.yy * new_matrix->y0 + tmp.y0;
+ matrix->y0 = tmp.yx * new_matrix->x0 + tmp.yy * new_matrix->y0 + tmp.y0;
}
/**