diff options
author | Owen Taylor <otaylor@redhat.com> | 2004-05-31 11:40:58 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2004-05-31 11:40:58 +0000 |
commit | 9fc190c59e7b4f1357c027685af782242ffc68e0 (patch) | |
tree | 96337eba00a27b61a6a2636dc63491b36f962d09 /pango/pango-utils.c | |
parent | 31e0850c421fcc777c452121eb5c68fcf2ce3cda (diff) | |
download | pango-9fc190c59e7b4f1357c027685af782242ffc68e0.tar.gz |
Fix 'new' as parameter name (C++ compatibility issue). (#143430, David
Mon May 31 07:39:01 2004 Owen Taylor <otaylor@redhat.com>
* pango/pango-utils.c pango/pango-types.h (pango_matrix_concat):
Fix 'new' as parameter name (C++ compatibility issue).
(#143430, David Hawthorne)
Diffstat (limited to 'pango/pango-utils.c')
-rw-r--r-- | pango/pango-utils.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/pango/pango-utils.c b/pango/pango-utils.c index 6c75a3bf..96378168 100644 --- a/pango/pango-utils.c +++ b/pango/pango-utils.c @@ -1098,15 +1098,15 @@ pango_matrix_rotate (PangoMatrix *matrix, /** * pango_matrix_concat: * @matrix: a #PangoMatrix - * @new: a #PangoMatrix + * @new_matrix: a #PangoMatrix * * Changes the transformation represented by @matrix to be the * transformation given by first applying transformation - * given by @new then applying the original transformation. + * given by @new_matrix then applying the original transformation. **/ void pango_matrix_concat (PangoMatrix *matrix, - PangoMatrix *new) + PangoMatrix *new_matrix) { PangoMatrix tmp; @@ -1114,12 +1114,12 @@ pango_matrix_concat (PangoMatrix *matrix, tmp = *matrix; - matrix->xx = tmp.xx * new->xx + tmp.xy * new->yx; - matrix->xy = tmp.xx * new->xy + tmp.xy * new->yy; - matrix->yx = tmp.yx * new->xx + tmp.yy * new->yx; - matrix->yy = tmp.yx * new->xy + tmp.yy * new->yy; - matrix->x0 = tmp.xx * new->x0 + tmp.xy * new->y0 + tmp.x0; - matrix->y0 = tmp.yx * new->y0 + tmp.yy * new->y0 + tmp.y0; + matrix->xx = tmp.xx * new_matrix->xx + tmp.xy * new_matrix->yx; + matrix->xy = tmp.xx * new_matrix->xy + tmp.xy * new_matrix->yy; + 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; } static const char canon_map[256] = { |