diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2005-11-24 05:36:22 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-11-24 05:36:22 +0000 |
commit | 77e7f93abaeeae3ca3cd419113dd627e5d25d5a6 (patch) | |
tree | b17f95c7407635e9c80856a1ae16a97982a162a6 | |
parent | 86351a44bb497dbab0ec6720c50b7892668c8f42 (diff) | |
download | pango-77e7f93abaeeae3ca3cd419113dd627e5d25d5a6.tar.gz |
Fix a typo
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | pango/pango-layout.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2005-11-24 Matthias Clasen <mclasen@redhat.com> + + * pango/pango-layout.c: Fix a typo. + 2005-11-23 Behdad Esfahbod <behdad@gnome.org> * pango/mapping.c (pango_glyph_string_index_to_x), diff --git a/pango/pango-layout.c b/pango/pango-layout.c index ad0302d7..99d4e9e7 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -5009,7 +5009,7 @@ pango_layout_iter_get_char_extents (PangoLayoutIter *iter, g_assert (cluster_rect.width == iter->cluster_width); x0 = (iter->character_position * cluster_rect.width) / iter->cluster_num_chars; - x1 = (iter->character_position + 1) * cluster_rect.width) / iter->cluster_num_chars; + x1 = ((iter->character_position + 1) * cluster_rect.width) / iter->cluster_num_chars; logical_rect->width = x1 - x0; logical_rect->height = cluster_rect.height; |