diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2007-06-03 20:57:28 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2007-06-03 20:57:28 +0000 |
commit | c41cb3563b5ead3fdaeb9656791b75170661e0aa (patch) | |
tree | 1f8f112f9913052daafec44dffec02932ca2d4e1 /pango/pango-renderer.c | |
parent | e79b37d413ae5bad8cbb813f4720fb0a38bb94d0 (diff) | |
download | pango-c41cb3563b5ead3fdaeb9656791b75170661e0aa.tar.gz |
Fix various typos reported by Peter Moulder.
2007-06-03 Behdad Esfahbod <behdad@gnome.org>
* docs/tmpl/main.sgml:
* pango/pango-layout.c (process_item):
* pango/pango-ot-info.c:
* pango/pango-renderer.c (pango_renderer_draw_layout_line):
Fix various typos reported by Peter Moulder.
svn path=/trunk/; revision=2329
Diffstat (limited to 'pango/pango-renderer.c')
-rw-r--r-- | pango/pango-renderer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-renderer.c b/pango/pango-renderer.c index 02b8f479..9dc1198f 100644 --- a/pango/pango-renderer.c +++ b/pango/pango-renderer.c @@ -517,7 +517,7 @@ pango_renderer_draw_layout_line (PangoRenderer *renderer, if (run->item->analysis.flags & PANGO_ANALYSIS_FLAG_CENTERED_BASELINE) { - gboolean is_hinted = (logical_rect.y & logical_rect.height & (PANGO_SCALE - 1)) == 0; + gboolean is_hinted = ((logical_rect.y | logical_rect.height) & (PANGO_SCALE - 1)) == 0; int adjustment = logical_rect.y + logical_rect.height / 2; if (is_hinted) |